Changeset 45537
- Timestamp:
- 06/14/2019 11:25:45 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-walker-nav-menu.php
r45141 r45537 51 51 * @param stdClass $args An object of wp_nav_menu() arguments. 52 52 */ 53 public function start_lvl( &$output, $depth = 0, $args = array()) {53 public function start_lvl( &$output, $depth = 0, $args = null ) { 54 54 if ( isset( $args->item_spacing ) && 'discard' === $args->item_spacing ) { 55 55 $t = ''; … … 90 90 * @param stdClass $args An object of wp_nav_menu() arguments. 91 91 */ 92 public function end_lvl( &$output, $depth = 0, $args = array()) {92 public function end_lvl( &$output, $depth = 0, $args = null ) { 93 93 if ( isset( $args->item_spacing ) && 'discard' === $args->item_spacing ) { 94 94 $t = ''; … … 116 116 * @param int $id Current item ID. 117 117 */ 118 public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {118 public function start_el( &$output, $item, $depth = 0, $args = null, $id = 0 ) { 119 119 if ( isset( $args->item_spacing ) && 'discard' === $args->item_spacing ) { 120 120 $t = ''; … … 260 260 * @param stdClass $args An object of wp_nav_menu() arguments. 261 261 */ 262 public function end_el( &$output, $item, $depth = 0, $args = array()) {262 public function end_el( &$output, $item, $depth = 0, $args = null ) { 263 263 if ( isset( $args->item_spacing ) && 'discard' === $args->item_spacing ) { 264 264 $t = '';
Note: See TracChangeset
for help on using the changeset viewer.