Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#33751 closed defect (bug) (fixed)

Fix misleading and invalid docblock for `wp_list_widget_controls()`

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

Description

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 11 years ago.

Download all attachments as: .zip

Change History (2)

#1 @SergeyBiryukov
11 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 33930:

Correct the docblock for wp_list_widget_controls().

Props swissspidy.
Fixes #33751.

Note: See TracTickets for help on using tickets.