mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- fixed allowed memory size on multisites;
This commit is contained in:
@@ -11,7 +11,7 @@ if ( ! class_exists( 'Permalinks' ) ) {
|
||||
|
||||
function __construct() {
|
||||
|
||||
$this->current_url = $this->get_current_url();
|
||||
add_action( 'init', array( &$this, 'set_current_url' ), 0 );
|
||||
|
||||
add_action( 'init', array( &$this, 'check_for_querystrings' ), 1 );
|
||||
|
||||
@@ -25,6 +25,13 @@ if ( ! class_exists( 'Permalinks' ) ) {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Set current URL variable
|
||||
*/
|
||||
function set_current_url() {
|
||||
$this->current_url = $this->get_current_url();
|
||||
}
|
||||
|
||||
|
||||
/***
|
||||
*** @SEO canonical href bugfix
|
||||
|
||||
Reference in New Issue
Block a user