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:
Ryan Boren 2010-12-15 17:33:02 +00:00
parent 0c8e238e6c
commit 700374e0b0
1 changed files with 1 additions and 1 deletions

View File

@ -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' );