WordPress.org

Make WordPress Core

Changeset 46135


Ignore:
Timestamp:
09/15/2019 11:31:02 AM (2 months ago)
Author:
SergeyBiryukov
Message:

Code Modernisation: Replace call_user_func_array() in wp-includes/post-template.php with a dynamic function call.

Props jrf.
See #47678.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post-template.php

    r46080 r46135  
    15251525    }
    15261526
    1527     $args = array( $pages, $depth, $r, $current_page );
    1528     return call_user_func_array( array( $walker, 'walk' ), $args );
     1527    return $walker->walk( $pages, $depth, $r, $current_page );
    15291528}
    15301529
Note: See TracChangeset for help on using the changeset viewer.