Opened 5 years ago
Closed 5 years ago
#8158 closed defect (bug) (fixed)
WP_Admin_Bar::add_menu() is deprecated in WP 5.4
Reported by: | imath | Owned by: | imath |
---|---|---|---|
Milestone: | 6.0.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Toolbar & Notifications | 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
@
5 years ago
FYI this deprecation just got reverted in [WP46678].
#3
@
5 years ago
- Resolution fixed deleted
- Status changed from closed to 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...
In 12495: