From cc8772262d46ed7571b324e25196a105803cb530 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 30 Oct 2015 04:23:13 +0000 Subject: [PATCH] Multisite: Restore display of the Toolbar on wp-activate.php while logged-in. Just as with wp-signup.php, display of the Toolbar on wp-activate.php was broken in [23512] due to a hook change for the `_wp_admin_bar_init()` callback. wp-signup.php was fixed in [35423] for #34418. See [35423] for more in-depth background and reasoning behind restoring display of the Toolbar on wp-activate.php and wp-signup.php. Fixes #34496. See #34418. git-svn-id: https://develop.svn.wordpress.org/trunk@35449 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/default-filters.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/default-filters.php b/src/wp-includes/default-filters.php index 75a171b4b0..684bea4a37 100644 --- a/src/wp-includes/default-filters.php +++ b/src/wp-includes/default-filters.php @@ -431,6 +431,7 @@ add_action( 'init', 'wp_widgets_init', 1 ); add_action( 'template_redirect', '_wp_admin_bar_init', 0 ); add_action( 'admin_init', '_wp_admin_bar_init' ); add_action( 'before_signup_header', '_wp_admin_bar_init' ); +add_action( 'activate_header', '_wp_admin_bar_init' ); add_action( 'wp_footer', 'wp_admin_bar_render', 1000 ); add_action( 'in_admin_header', 'wp_admin_bar_render', 0 );