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
This commit is contained in:
parent
b2ca8af3bf
commit
8feb6cfcf3
|
@ -182,7 +182,7 @@ function twentyfifteen_get_color_scheme() {
|
||||||
}
|
}
|
||||||
endif; // 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.
|
* 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;
|
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' ) ) :
|
if ( ! function_exists( 'twentyfifteen_sanitize_color_scheme' ) ) :
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue