WordPress.org

Make WordPress Core

Ticket #17443: 17443.patch

File 17443.patch, 482 bytes (added by hakre, 7 years ago)

switch to do_action.

  • wp-includes/admin-bar.php

    ### Eclipse Workspace Patch 1.0
    #P wordpress
     
    5757
    5858        $wp_admin_bar->load_user_locale_translations();
    5959
    60         do_action_ref_array( 'admin_bar_menu', array( &$wp_admin_bar ) );
     60        do_action( 'admin_bar_menu', $wp_admin_bar );
    6161
    6262        do_action( 'wp_before_admin_bar_render' );
    6363