Changeset 50558 for trunk/src/wp-includes/nav-menu.php
- Timestamp:
- 03/21/2021 12:39:25 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/nav-menu.php
r50013 r50558 759 759 } 760 760 761 if ( ARRAY_A == $args['output'] ) {761 if ( ARRAY_A === $args['output'] ) { 762 762 $items = wp_list_sort( 763 763 $items, … … 766 766 ) 767 767 ); 768 $i = 1; 768 769 $i = 1; 770 769 771 foreach ( $items as $k => $item ) { 770 772 $items[ $k ]->{$args['output_key']} = $i++;
Note: See TracChangeset
for help on using the changeset viewer.