- fixed allowed memory size on multisites;

This commit is contained in:
nikitozzzzzzz
2017-11-14 17:50:37 +02:00
parent ef653c29d3
commit 824da3f036
+8 -1
View File
@@ -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