Changeset 19365
- Timestamp:
- 11/20/2011 06:39:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-admin-bar.php
r19328 r19365 113 113 114 114 public function render() { 115 116 $back_compat_parents = array( 117 'appearance' => 'site-name', 118 ); 119 115 120 // Link nodes to parents. 116 121 foreach ( $this->nodes as $node ) { 122 123 if ( isset( $back_compat_parents[ $node->parent ] ) ) 124 $node->parent = $back_compat_parents[ $node->parent ]; 117 125 118 126 // Handle root menu items
Note: See TracChangeset
for help on using the changeset viewer.