]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/class-wp-admin-bar.php
WordPress 3.3.2-scripts
[autoinstalls/wordpress.git] / wp-includes / class-wp-admin-bar.php
index 8ee6d1cf207349af36d9737674ae0cdbed77f161..1b8f8b33911ead2aa5bfb242ad21d92c89d9e702 100644 (file)
@@ -196,7 +196,8 @@ class WP_Admin_Bar {
 
        public function render() {
                $root = $this->_bind();
-               $this->_render( $root );
+               if ( $root )
+                       $this->_render( $root );
        }
 
        final protected function _bind() {