From 8feb6cfcf31d76bf788cd85706bdbd4cd36caccd Mon Sep 17 00:00:00 2001 From: Ian Stewart Date: Wed, 10 Dec 2014 13:21:23 +0000 Subject: [PATCH] Twenty Fifteen: we should be checking for twentyfifteen_get_color_scheme_choices here not twentyfifteen_get_color_scheme_control_options Props iamtakashi, fixes #30652 Built from https://develop.svn.wordpress.org/trunk@30802 git-svn-id: http://core.svn.wordpress.org/trunk@30792 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfifteen/inc/customizer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/twentyfifteen/inc/customizer.php b/wp-content/themes/twentyfifteen/inc/customizer.php index 9afed3d1b4..de7a4f67ce 100644 --- a/wp-content/themes/twentyfifteen/inc/customizer.php +++ b/wp-content/themes/twentyfifteen/inc/customizer.php @@ -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' ) ) : /**