X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/fef8173b8c3bad08f495551e43cfdeac1cae6021..888fa4ed68091f3314f711c5f6fe75858bf5410b:/wp-activate.php diff --git a/wp-activate.php b/wp-activate.php index 6bc019c7..5e9be6ea 100644 --- a/wp-activate.php +++ b/wp-activate.php @@ -1,10 +1,17 @@ cache_enabled = false; -do_action("activate_header"); +// Fix for page title +$wp_query->is_404 = false; + +/** + * Fires before the Site Activation page is loaded. + * + * @since 3.0.0 + */ +do_action( 'activate_header' ); +/** + * Adds an action hook specific to this page that fires on wp_head + * + * @since MU + */ function do_activate_header() { - do_action("activate_wp_head"); + /** + * Fires before the Site Activation page is loaded, but on the wp_head action. + * + * @since 3.0.0 + */ + do_action( 'activate_wp_head' ); } add_action( 'wp_head', 'do_activate_header' ); +/** + * Loads styles specific to this page. + * + * @since MU + */ function wpmu_activate_stylesheet() { ?>