- Timestamp:
- 12/16/2016 10:07:41 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/inc/customizer.php
r39227 r39618 124 124 /** 125 125 * Sanitize the page layout options. 126 * 127 * @param string $input Page layout. 126 128 */ 127 129 function twentyseventeen_sanitize_page_layout( $input ) { … … 140 142 /** 141 143 * Sanitize the colorscheme. 144 * 145 * @param string $input Color scheme. 142 146 */ 143 147 function twentyseventeen_sanitize_colorscheme( $input ) { 144 148 $valid = array( 'light', 'dark', 'custom' ); 145 149 146 if ( in_array( $input, $valid ) ) {150 if ( in_array( $input, $valid, true ) ) { 147 151 return $input; 148 152 }
Note: See TracChangeset
for help on using the changeset viewer.