Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#33751 closed defect (bug) (fixed)

Fix misleading and invalid docblock for `wp_list_widget_controls()`

Reported by: swissspidy Owned by: SergeyBiryukov
Milestone: 4.4 Priority: normal
Severity: minor Version: 2.5
Component: Widgets Keywords: has-patch
Focuses: docs Cc:


Stumbled upon this while looking at #32448.

The parameter documentation in wp_list_widget_controls is invalid. Also, it's very misleading because $sidebar_name can't contain HTML – it's displayed using esc_hml.

Attachments (1)

33751.patch (671 bytes) - added by swissspidy 6 years ago.

Download all attachments as: .zip

Change History (2)

6 years ago

#1 @SergeyBiryukov
6 years ago

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

In 33930:

Correct the docblock for wp_list_widget_controls().

Props swissspidy.
Fixes #33751.

Note: See TracTickets for help on using tickets.