WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#26408 closed defect (bug) (fixed)

Twenty Fourteen: Featured Content layout value is not sanitized

Reported by: kwight Owned by: lancewillett
Milestone: 3.8 Priority: normal
Severity: blocker Version: 3.8
Component: Bundled Theme Keywords: has-patch
Focuses: Cc:

Description

The Featured Content layout value is not sanitized in the Customizer.

Attachments (2)

26408.patch (1.0 KB) - added by kwight 6 years ago.
26408.2.patch (1.2 KB) - added by kwight 6 years ago.

Download all attachments as: .zip

Change History (7)

@kwight
6 years ago

#1 @nacin
6 years ago

  • Severity changed from normal to blocker

#2 @kwight
6 years ago

  • Keywords has-patch added

#3 @obenland
6 years ago

  • Milestone changed from Awaiting Review to 3.8
  • Version set to trunk

#4 @lancewillett
6 years ago

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

In 26636:

Twenty Fourteen: sanitize the values of Featured Content layout option, props kwight. Fixes #26408.

@kwight
6 years ago

#5 @kwight
6 years ago

26408.2.patch adds @param and @return values to the sanitization function.

Note: See TracTickets for help on using tickets.