X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/fef8173b8c3bad08f495551e43cfdeac1cae6021..48ab98cb1779cf2088c1351ac3dd3d0da6fb31d3:/wp-activate.php?ds=sidebyside diff --git a/wp-activate.php b/wp-activate.php index 6bc019c7..a796cc5e 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() { ?>