Changeset 45640
- Timestamp:
- 07/15/2019 07:03:54 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-walker.php
r45624 r45640 185 185 * @param array $elements An array of elements. 186 186 * @param int $max_depth The maximum hierarchical depth. 187 * @param mixed ...$args Optional additional arguments.188 187 * @return string The hierarchical item output. 189 188 */ 190 public function walk( $elements, $max_depth, ...$args ) { 189 public function walk( $elements, $max_depth ) { 190 $args = array_slice( func_get_args(), 2 ); 191 191 $output = ''; 192 192 … … 277 277 * @param array $elements 278 278 * @param int $max_depth The maximum hierarchical depth. 279 * @param int $page_num 279 * @param int $page_num The specific page number, beginning with 1. 280 280 * @param int $per_page 281 * @param mixed ...$args Optional additional arguments.282 281 * @return string XHTML of the specified page of elements 283 282 */ 284 public function paged_walk( $elements, $max_depth, $page_num, $per_page , ...$args) {283 public function paged_walk( $elements, $max_depth, $page_num, $per_page ) { 285 284 if ( empty( $elements ) || $max_depth < -1 ) { 286 285 return ''; 287 286 } 288 287 288 $args = array_slice( func_get_args(), 4 ); 289 289 $output = ''; 290 290
Note: See TracChangeset
for help on using the changeset viewer.