Opened 6 years ago
Closed 6 years ago
#8158 closed defect (bug) (fixed)
WP_Admin_Bar::add_menu() is deprecated in WP 5.4
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| 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
@
6 years ago
FYI this deprecation just got reverted in [WP46678].
#3
@
6 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...
Note: See
TracTickets for help on using
tickets.
In 12495: