Avoid 404 for wp-activate.php.
props nullvariable. fixes #24960. Built from https://develop.svn.wordpress.org/trunk@25690 git-svn-id: http://core.svn.wordpress.org/trunk@25606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e483532553
commit
628bbce42a
|
@ -21,6 +21,9 @@ if ( !is_multisite() ) {
|
||||||
if ( is_object( $wp_object_cache ) )
|
if ( is_object( $wp_object_cache ) )
|
||||||
$wp_object_cache->cache_enabled = false;
|
$wp_object_cache->cache_enabled = false;
|
||||||
|
|
||||||
|
// Fix for page title
|
||||||
|
$wp_query->is_404 = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fires before the Site Activation page is loaded.
|
* Fires before the Site Activation page is loaded.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue