WordPress.org

Make WordPress Core

Opened 6 months ago

Closed 5 months ago

#50779 closed enhancement (fixed)

Description DocBlock for WP_Admin_Bar::add_group() can be better

Reported by: stevenlinx Owned by: SergeyBiryukov
Milestone: 5.6 Priority: normal
Severity: minor Version:
Component: Toolbar Keywords: has-patch
Focuses: docs, administration Cc:

Description

"Add a group to a Toolbar menu node. Groups allow you to group Toolbar items together into distinct sections of a toolbar menu."

Codex:
https://codex.wordpress.org/Function_Reference/add_group

DevHub:
https://developer.wordpress.org/reference/classes/wp_admin_bar/add_group/

Attachments (1)

50779.diff (465 bytes) - added by stevenlinx 6 months ago.

Download all attachments as: .zip

Change History (5)

@stevenlinx
6 months ago

#1 @stevenlinx
6 months ago

  • Keywords has-patch added; needs-patch removed

#2 @SergeyBiryukov
6 months ago

  • Component changed from Administration to Toolbar
  • Focuses administration added

#3 @SergeyBiryukov
6 months ago

  • Milestone changed from Awaiting Review to 5.6
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#4 @SergeyBiryukov
5 months ago

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

In 48826:

Docs: Improve description for WP_Admin_Bar::add_group().

Props stevenlinx.
Fixes #50779.

Note: See TracTickets for help on using tickets.