WordPress.org

Make WordPress Core

Changeset 21257


Ignore:
Timestamp:
07/10/2012 08:32:48 PM (6 years ago)
Author:
nacin
Message:

Tabs, not spaces for intendation. Add a docblock to the file/class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-admin-bar.php

    r21193 r21257  
    11<?php
     2/**
     3 * The WordPress Toolbar
     4 *
     5 * @since 3.1.0
     6 *
     7 * @package WordPress
     8 * @subpackage Toolbar
     9 */
    210class WP_Admin_Bar {
    311    private $nodes = array();
     
    150158
    151159    final public function get_nodes() {
    152        if ( ! $nodes = $this->_get_nodes() )
    153           return;
    154 
    155        foreach ( $nodes as &$node ) {
    156            $node = clone $node;
    157        }
    158        return $nodes;
     160        if ( ! $nodes = $this->_get_nodes() )
     161            return;
     162
     163        foreach ( $nodes as &$node ) {
     164            $node = clone $node;
     165        }
     166        return $nodes;
    159167    }
    160168
Note: See TracChangeset for help on using the changeset viewer.