Make WordPress Core


Ignore:
Timestamp:
10/30/2015 04:23:13 AM (9 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/default-filters.php

    r35437 r35449  
    432432add_action( 'admin_init', '_wp_admin_bar_init' );
    433433add_action( 'before_signup_header', '_wp_admin_bar_init' );
     434add_action( 'activate_header', '_wp_admin_bar_init' );
    434435add_action( 'wp_footer', 'wp_admin_bar_render', 1000 );
    435436add_action( 'in_admin_header', 'wp_admin_bar_render', 0 );
Note: See TracChangeset for help on using the changeset viewer.