WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#15418 closed defect (bug) (fixed)

Admin Bar add-menu docs

Reported by: filosofo Owned by: filosofo
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.1
Component: General Keywords: has-patch
Focuses: Cc:

Description

The docs say to use "wp_before_admin_bar_render" to add new menus, but the behavior was changed in r16309 to use "admin_bar_menu," so the docs should be updated to reflect that.

Attachments (1)

admin-bar-menu-docs.15418.diff (726 bytes) - added by filosofo 3 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 ryan3 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [16599]) Admin bar phpdoc update. Props filosofo. fixes #15418

Note: See TracTickets for help on using tickets.