Unnecessary use of global in admin-bar.php
|Reported by:||andriijas||Owned by:|
In admin-bar.php line 78 function wp_admin_bar_my_account_menu takes $wp_admin_bar as argument (as seen in line 60) and should use that in favor of global.
That goes for the other wp_admin_bar_* functions that adds menus to the admin bar in the same file as well.
Change History (8)
- Keywords 3.2-early added
- Milestone changed from Awaiting Review to Future Release
- Keywords needs-refresh added; 3.2-early removed
- Milestone changed from Future Release to 3.2