WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/10/2014 01:20:55 PM (6 years ago)
Author:
iandstewart
Message:

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

Props iamtakashi, fixes #30652

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/inc/customizer.php

    r30763 r30802  
    183183endif; // twentyfifteen_get_color_scheme
    184184
    185 if ( ! function_exists( 'twentyfifteen_get_color_scheme_control_options' ) ) :
     185if ( ! function_exists( 'twentyfifteen_get_color_scheme_choices' ) ) :
    186186/**
    187187 * Returns an array of color scheme choices registered for Twenty Fifteen.
     
    201201    return $color_scheme_control_options;
    202202}
    203 endif; // twentyfifteen_get_color_scheme_control_options
     203endif; // twentyfifteen_get_color_scheme_choices
    204204
    205205if ( ! function_exists( 'twentyfifteen_sanitize_color_scheme' ) ) :
Note: See TracChangeset for help on using the changeset viewer.