Ticket #54191: 54191.patch
File 54191.patch, 626 bytes (added by , 3 years ago) |
---|
-
class-wp-admin-bar.php
33 33 } 34 34 35 35 /** 36 */ 36 * Initializes the admin bar. 37 * 38 * @since 3.1.0 39 */ 37 40 public function initialize() { 38 41 $this->user = new stdClass; 39 42 … … 596 599 } 597 600 598 601 /** 599 */ 602 * Adds a menu in the admin bar. 603 * 604 * @since 3.1.0 605 */ 606 600 607 public function add_menus() { 601 608 // User-related, aligned right. 602 609 add_action( 'admin_bar_menu', 'wp_admin_bar_my_account_menu', 0 );