X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/96bc8e88cf39086a9e0a883b8e2c311fe82a5e97..888fa4ed68091f3314f711c5f6fe75858bf5410b:/wp-activate.php?ds=sidebyside diff --git a/wp-activate.php b/wp-activate.php index 4f720709..5e9be6ea 100644 --- a/wp-activate.php +++ b/wp-activate.php @@ -1,10 +1,17 @@ cache_enabled = false; +// 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() { ?>