Pass wp_admin_bar object to admin_bar_menu action. Props TheDeadMedic, JohnPBloch. fixes #15723
git-svn-id: https://develop.svn.wordpress.org/trunk@16957 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0c8e238e6c
commit
700374e0b0
@ -53,7 +53,7 @@ function wp_admin_bar_render() {
|
||||
|
||||
$wp_admin_bar->load_user_locale_translations();
|
||||
|
||||
do_action( 'admin_bar_menu' );
|
||||
do_action_ref_array( 'admin_bar_menu', array( &$wp_admin_bar ) );
|
||||
|
||||
do_action( 'wp_before_admin_bar_render' );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user