From 1a58965428aa5ab19be490eeebd8956173dd0596 Mon Sep 17 00:00:00 2001 From: Ian Stewart Date: Wed, 10 Dec 2014 13:20:55 +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 git-svn-id: https://develop.svn.wordpress.org/trunk@30802 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfifteen/inc/customizer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentyfifteen/inc/customizer.php b/src/wp-content/themes/twentyfifteen/inc/customizer.php index 9afed3d1b4..de7a4f67ce 100644 --- a/src/wp-content/themes/twentyfifteen/inc/customizer.php +++ b/src/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' ) ) : /**