WordPress.org

Make WordPress Core

Changeset 16957


Ignore:
Timestamp:
12/15/2010 05:33:02 PM (7 years ago)
Author:
ryan
Message:

Pass wp_admin_bar object to admin_bar_menu action. Props TheDeadMedic, JohnPBloch. fixes #15723

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/admin-bar.php

    r16952 r16957  
    5454    $wp_admin_bar->load_user_locale_translations();
    5555
    56     do_action( 'admin_bar_menu' );
     56    do_action_ref_array( 'admin_bar_menu', array( &$wp_admin_bar ) );
    5757
    5858    do_action( 'wp_before_admin_bar_render' );
Note: See TracChangeset for help on using the changeset viewer.