WordPress.org

Make WordPress Core

Ticket #19642: 19642.patch

File 19642.patch, 429 bytes (added by SergeyBiryukov, 6 years ago)
  • wp-includes/class-wp-admin-bar.php

     
    196196
    197197        public function render() {
    198198                $root = $this->_bind();
    199                 $this->_render( $root );
     199                if ( !empty( $root ) )
     200                        $this->_render( $root );
    200201        }
    201202
    202203        final protected function _bind() {