Changeset 37431 for trunk/src/wp-includes/class-wp-walker.php
- Timestamp:
- 05/13/2016 06:40:19 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-walker.php
r35876 r37431 140 140 $this->has_children = ! empty( $children_elements[ $id ] ); 141 141 if ( isset( $args[0] ) && is_array( $args[0] ) ) { 142 $args[0]['has_children'] = $this->has_children; // Back wards compatibility.142 $args[0]['has_children'] = $this->has_children; // Back-compat. 143 143 } 144 144 … … 387 387 * @since 2.7.0 388 388 * @access public 389 * 389 * 390 390 * @param array $elements Elements to list. 391 391 * @return int Number of root elements.
Note: See TracChangeset
for help on using the changeset viewer.