Twenty Fifteen: we should be checking for twentyfifteen_get_color_scheme_choices here not twentyfifteen_get_color_scheme_control_options

Props iamtakashi, fixes #30652



git-svn-id: https://develop.svn.wordpress.org/trunk@30802 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ian Stewart 2014-12-10 13:20:55 +00:00
parent f16ab82cbc
commit 1a58965428
1 changed files with 2 additions and 2 deletions

View File

@ -182,7 +182,7 @@ function twentyfifteen_get_color_scheme() {
}
endif; // twentyfifteen_get_color_scheme
if ( ! function_exists( 'twentyfifteen_get_color_scheme_control_options' ) ) :
if ( ! function_exists( 'twentyfifteen_get_color_scheme_choices' ) ) :
/**
* Returns an array of color scheme choices registered for Twenty Fifteen.
*
@ -200,7 +200,7 @@ function twentyfifteen_get_color_scheme_choices() {
return $color_scheme_control_options;
}
endif; // twentyfifteen_get_color_scheme_control_options
endif; // twentyfifteen_get_color_scheme_choices
if ( ! function_exists( 'twentyfifteen_sanitize_color_scheme' ) ) :
/**