mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Register admin menus against admin_bar_menu action to be consistent with other menu hooks. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16309 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -53,6 +53,8 @@ function wp_admin_bar_render() {
|
||||
|
||||
$wp_admin_bar->load_user_locale_translations();
|
||||
|
||||
do_action( 'admin_bar_menu' );
|
||||
|
||||
do_action( 'wp_before_admin_bar_render' );
|
||||
|
||||
$wp_admin_bar->render();
|
||||
|
||||
Reference in New Issue
Block a user