Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/29/2016 09:24:53 PM (9 years ago)
Author:
boonebgorges
Message:

Stop assigning func_get_args() to a variable.

This was a workaround for a syntax limitation in PHP 5.2.

See #7299.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-walker-nav-menu.php

    r10417 r11363  
    5656     */
    5757    public function walk( $elements, $max_depth ) {
    58         $func_args = func_get_args();
    59 
    60         $args   = array_slice( $func_args, 2 );
     58        $args   = array_slice( func_get_args(), 2 );
    6159        $output = '';
    6260
Note: See TracChangeset for help on using the changeset viewer.