Make WordPress Core


Ignore:
Timestamp:
10/04/2012 08:00:16 PM (9 years ago)
Author:
ryan
Message:

Objects no longer need to be explicitly passed by ref to call_user_func*() to be callable. Props wonderboymusic. fixes #21865

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/nav-menu-template.php

    r21868 r22118  
    476476    $args = array( $items, $depth, $r );
    477477
    478     return call_user_func_array( array(&$walker, 'walk'), $args );
     478    return call_user_func_array( array($walker, 'walk'), $args );
    479479}
    480480
Note: See TracChangeset for help on using the changeset viewer.