Make WordPress Core

Ticket #54191: 54191.3.diff

File 54191.3.diff, 712 bytes (added by yagniksangani, 3 years ago)

New Diff File

  • src/wp-includes/class-wp-admin-bar.php

    diff --git a/src/wp-includes/class-wp-admin-bar.php b/src/wp-includes/class-wp-admin-bar.php
    index 7d3470f538..d538b33ae1 100644
    a b class WP_Admin_Bar { 
    3333        }
    3434
    3535        /**
     36         * Initializes the admin bar.
     37         *
     38         * @since 3.1.0
    3639         */
    3740        public function initialize() {
    3841                $this->user = new stdClass;
    class WP_Admin_Bar { 
    281284        }
    282285
    283286        /**
     287         * @since 3.1.0
    284288         */
    285289        public function render() {
    286290                $root = $this->_bind();
    class WP_Admin_Bar { 
    596600        }
    597601
    598602        /**
     603         * Adds a menu in the admin bar.
     604         *
     605         * @since 3.1.0
    599606         */
    600607        public function add_menus() {
    601608                // User-related, aligned right.