Tabs, not spaces for intendation. Add a docblock to the file/class.
git-svn-id: https://develop.svn.wordpress.org/trunk@21257 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cebf4e277b
commit
aa7f457bfb
|
@ -1,4 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* The WordPress Toolbar
|
||||||
|
*
|
||||||
|
* @since 3.1.0
|
||||||
|
*
|
||||||
|
* @package WordPress
|
||||||
|
* @subpackage Toolbar
|
||||||
|
*/
|
||||||
class WP_Admin_Bar {
|
class WP_Admin_Bar {
|
||||||
private $nodes = array();
|
private $nodes = array();
|
||||||
private $bound = false;
|
private $bound = false;
|
||||||
|
@ -149,13 +157,13 @@ class WP_Admin_Bar {
|
||||||
}
|
}
|
||||||
|
|
||||||
final public function get_nodes() {
|
final public function get_nodes() {
|
||||||
if ( ! $nodes = $this->_get_nodes() )
|
if ( ! $nodes = $this->_get_nodes() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
foreach ( $nodes as &$node ) {
|
foreach ( $nodes as &$node ) {
|
||||||
$node = clone $node;
|
$node = clone $node;
|
||||||
}
|
}
|
||||||
return $nodes;
|
return $nodes;
|
||||||
}
|
}
|
||||||
|
|
||||||
final protected function _get_nodes() {
|
final protected function _get_nodes() {
|
||||||
|
|
Loading…
Reference in New Issue