mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- changed version;
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user