Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#42372 closed defect (bug) (fixed)

WP_Customize_Manager::add_section doc block is a bad copy of add_panel

Reported by: joyously Owned by: westonruter
Milestone: 4.9 Priority: normal
Severity: normal Version: 4.8
Component: Customize Keywords:
Focuses: docs Cc:


The $panel parameter is a copy of $priority, and several of the descriptions refer to panel instead of section.
Are these even the correct parameters?

Change History (2)

#1 @westonruter
3 years ago

  • Milestone changed from Awaiting Review to 4.9
  • Owner set to westonruter
  • Status changed from new to accepted
  • Version changed from trunk to 4.8

Introduced in [40804] for #39671.

#2 @westonruter
3 years ago

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

In 42039:

Customize: Fix phpdoc for params in WP_Customize_Manager::add_section().

Amends [40804].
See #39671.
Fixes #42372.

Note: See TracTickets for help on using tickets.