Changeset 21257
- Timestamp:
- 07/10/2012 08:32:48 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-admin-bar.php
r21193 r21257 1 1 <?php 2 /** 3 * The WordPress Toolbar 4 * 5 * @since 3.1.0 6 * 7 * @package WordPress 8 * @subpackage Toolbar 9 */ 2 10 class WP_Admin_Bar { 3 11 private $nodes = array(); … … 150 158 151 159 final public function get_nodes() { 152 153 154 155 156 157 158 160 if ( ! $nodes = $this->_get_nodes() ) 161 return; 162 163 foreach ( $nodes as &$node ) { 164 $node = clone $node; 165 } 166 return $nodes; 159 167 } 160 168
Note: See TracChangeset
for help on using the changeset viewer.