Make WordPress Core

Ticket #54191: 54191.2.diff

File 54191.2.diff, 579 bytes (added by yagniksangani, 2 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..60111be0ea 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 { 
    596599        }
    597600
    598601        /**
     602         * Adds a menu in the admin bar.
     603         *
     604         * @since 3.1.0
    599605         */
    600606        public function add_menus() {
    601607                // User-related, aligned right.