mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Fix redirect URL
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ class UM_Access {
|
||||
|
||||
if ( strstr( $this->redirect_handler, um_get_core_page('login') ) ){
|
||||
$curr = $ultimatemember->permalinks->get_current_url();
|
||||
$this->redirect_handler = add_query_arg('redirect_to', um_set_redirect_url($curr), $this->redirect_handler);
|
||||
$this->redirect_handler = add_query_arg('redirect_to', urlencode_deep($curr), $this->redirect_handler);
|
||||
$this->redirect_handler = esc_url( $this->redirect_handler );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user