Avoid 404 for wp-activate.php.

props nullvariable.
fixes #24960.


git-svn-id: https://develop.svn.wordpress.org/trunk@25690 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2013-10-04 14:11:49 +00:00
parent 3f422038dd
commit cee5480513

View File

@ -21,6 +21,9 @@ if ( !is_multisite() ) {
if ( is_object( $wp_object_cache ) )
$wp_object_cache->cache_enabled = false;
// Fix for page title
$wp_query->is_404 = false;
/**
* Fires before the Site Activation page is loaded.
*