Opened 7 years ago
Closed 7 years ago
#8158 closed defect (bug) (fixed)
WP_Admin_Bar::add_menu() is deprecated in WP 5.4
| Reported by: | imath | Owned by: | imath |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.0.0 |
| Component: | Toolbar & Notifications | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
Hi!
WP_Admin_Bar::add_menu() is a wrapper of WP_Admin_Bar::add_node() since the beginning I believe. At least, WP_Admin_Bar::add_node() is available in WP 4.8.
As this is pretty annoying (see attached screenshot), let's stop using WP_Admin_Bar::add_menu() asap.
Attachments (2)
Change History (7)
#2
@
7 years ago
FYI this deprecation just got reverted in [WP46678].
#3
@
7 years ago
- Resolution fixed
- Status closed → reopened
Thanks @johnbillion for the info. I haven’t waited long enough before committing! Well unless someone is feeling strong about it I think we can leave it the way it is. Reopening the ticket for second thoughts...
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 12495: