Changeset 40092
- Timestamp:
- 02/21/2017 03:50:13 AM (8 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/src/wp-includes/class-walker-page.php
r39051 r40092 54 54 */ 55 55 public function start_lvl( &$output, $depth = 0, $args = array() ) { 56 if ( 'preserve' === $args['item_spacing'] ) {56 if ( isset( $args['item_spacing'] ) && 'preserve' === $args['item_spacing'] ) { 57 57 $t = "\t"; 58 58 $n = "\n"; … … 79 79 */ 80 80 public function end_lvl( &$output, $depth = 0, $args = array() ) { 81 if ( 'preserve' === $args['item_spacing'] ) {81 if ( isset( $args['item_spacing'] ) && 'preserve' === $args['item_spacing'] ) { 82 82 $t = "\t"; 83 83 $n = "\n"; … … 104 104 */ 105 105 public function start_el( &$output, $page, $depth = 0, $args = array(), $current_page = 0 ) { 106 if ( 'preserve' === $args['item_spacing'] ) {106 if ( isset( $args['item_spacing'] ) && 'preserve' === $args['item_spacing'] ) { 107 107 $t = "\t"; 108 108 $n = "\n"; … … 197 197 */ 198 198 public function end_el( &$output, $page, $depth = 0, $args = array() ) { 199 if ( 'preserve' === $args['item_spacing'] ) {199 if ( isset( $args['item_spacing'] ) && 'preserve' === $args['item_spacing'] ) { 200 200 $t = "\t"; 201 201 $n = "\n";
Note: See TracChangeset
for help on using the changeset viewer.