Fix missing bracket

This commit is contained in:
Champ Camba
2019-12-22 22:47:20 +08:00
parent 2ef44d91a1
commit 80cfa00d45
+2 -2
View File
@@ -139,9 +139,9 @@ if ( ! class_exists( 'um\core\Permalinks' ) ) {
} else{
if ( isset( $_SERVER['HTTP_HOST'] ) ) {
$host = $_SERVER['HTTP_HOST'];
}else
}else{
$host = 'localhost';
}
}
}
$page_url = ( is_ssl() ? 'https://' : 'http://' ) . $host . $_SERVER['REQUEST_URI'];