wp-content/themes/twentyseventeen/inc/customizer.php:187Sanitizes the colorscheme.
$inputstringfunction twentyseventeen_sanitize_colorscheme( $input ) { $valid = array( 'light', 'dark', 'custom' ); if ( in_array( $input, $valid, true ) ) { return $input; } return 'light';}Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-content/themes/twentyseventeen/inc/customizer.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.