Make WordPress Core

Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#43448 closed defect (bug) (fixed)

Document $wp_registered_sidebars global in wp_map_sidebars_widgets()

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

Description

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 7 years ago.
43448.2.patch (1.5 KB) - added by mukesh27 7 years ago.
updated patch
43448.3.patch (420 bytes) - added by mukesh27 7 years ago.
Document $user_id global in wp_admin_bar_edit_menu()

Download all attachments as: .zip

Change History (9)

@mukesh27
7 years ago

@mukesh27
7 years ago

updated patch

@mukesh27
7 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.


7 years ago

#2 @lakenh
7 years ago

  • Keywords has-patch needs-testing added

#3 @SergeyBiryukov
7 years ago

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

#4 @pento
7 years ago

  • Milestone changed from 5.0 to 5.1

#5 @pento
6 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
6 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.