Pass wp_admin_bar object to admin_bar_menu action. Props TheDeadMedic, JohnPBloch. fixes #15723
git-svn-id: http://svn.automattic.com/wordpress/trunk@16957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e1ff72589d
commit
ff9a04a8ea
|
@ -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