WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#37759 closed defect (bug) (fixed)

Outdated `WP_Customize_Manager::validate_setting_values()` docs

Reported by: dlh Owned by: westonruter
Milestone: 4.7 Priority: normal
Severity: normal Version: 4.6
Component: Customize Keywords: has-patch commit
Focuses: docs Cc:

Description

After [37942], validation occurs before sanitization in WP_Customize_Manager::validate_setting_values(), but the method docs still mention the old order. The attached patch attempts to revise the docs.

Attachments (1)

37759.diff (1.2 KB) - added by dlh 3 years ago.

Download all attachments as: .zip

Change History (4)

@dlh
3 years ago

#1 @swissspidy
3 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 4.7

#2 @westonruter
3 years ago

  • Keywords commit added
  • Owner set to westonruter
  • Status changed from new to accepted

Good catch.

#3 @westonruter
3 years ago

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

In 38299:

Docs: Update outdated phpdoc for WP_Customize_Manager::validate_setting_values() to reflect changes in [37942].

Props dlh.
See #37247.
Fixes #37759.

Note: See TracTickets for help on using tickets.