Make WordPress Core

Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#43448 closed defect (bug) (fixed)

Document $wp_registered_sidebars global in wp_map_sidebars_widgets()

Reported by: mukesh27 Owned by: pento
Milestone: 5.1 Priority: normal
Severity: normal Version:
Component: Widgets Keywords: has-patch
Focuses: docs Cc:


global $wp_registered_sidebars is used but it is not mentioned in the documentation of the wp_map_sidebars_widgets() function.

Attachments (3)

43448.patch (1.5 KB) - added by mukesh27 4 years ago.
43448.2.patch (1.5 KB) - added by mukesh27 4 years ago.
updated patch
43448.3.patch (420 bytes) - added by mukesh27 4 years ago.
Document $user_id global in wp_admin_bar_edit_menu()

Download all attachments as: .zip

Change History (9)

4 years ago

4 years ago

updated patch

4 years ago

Document $user_id global in wp_admin_bar_edit_menu()

This ticket was mentioned in Slack in #core by mukeshpanchal27. View the logs.

4 years ago

#2 @lakenh
4 years ago

  • Keywords has-patch needs-testing added

#3 @SergeyBiryukov
4 years ago

  • Component changed from General to Widgets
  • Keywords needs-testing removed
  • Milestone changed from Awaiting Review to 5.0

#4 @pento
3 years ago

  • Milestone changed from 5.0 to 5.1

#5 @pento
3 years ago

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

In 44585:

Docs: Improve documentation of the $wp_registered_sidebars` global.

Props mukesh27.
Fixes #43448.

#6 @pento
3 years ago

In 44586:

Docs: Improve the docblock of wp_admin_bar_edit_menu().

What age were you when you learned that there's a $user_id global, as well as $user_ID global? I was today years old.

Props pento, mukesh27.
Fixes #43448.

Note: See TracTickets for help on using tickets.