Changeset 19236 for trunk/wp-includes/class-wp-admin-bar.php
- Timestamp:
- 11/10/2011 12:42:39 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-admin-bar.php
r19230 r19236 160 160 161 161 function recursive_render( $node ) { 162 $is_parent = ! empty( $node->children->primary ); 162 if ( ! $node->children->primary && $node->children->secondary ) { 163 $node->children->primary = $node->children->secondary; 164 $node->children->secondary = array(); 165 } 166 167 $is_parent = (bool) $node->children->primary; 163 168 164 169 $menuclass = $is_parent ? 'menupop' : '';
Note: See TracChangeset
for help on using the changeset viewer.