- changed version;

This commit is contained in:
nikitozzzzzzz
2018-05-30 23:57:57 +03:00
parent 4d8bf91175
commit 4ab758e756
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -130,6 +130,11 @@ if ( ! class_exists( 'um\core\Permalinks' ) ) {
* @return mixed|void
*/
function get_current_url( $no_query_params = false ) {
/*
* future fix
* global $wp;
echo home_url( $wp->request );
*/
$server_name_method = UM()->options()->get( 'current_url_method' );
$server_name_method = ! empty( $server_name_method ) ? $server_name_method : 'SERVER_NAME';