Make WordPress Core


Ignore:
Timestamp:
12/14/2018 08:11:18 PM (8 years ago)
Author:
allancole
Message:

Updating Twenty Nineteen, the new default theme for 2019.

This change properly sets the primary color hue theme option.

Props richtabor.

See #45424.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-content/themes/twentynineteen/inc/color-patterns.php

    r44187 r44192  
    1515        $primary_color = 199;
    1616        if ( 'default' !== get_theme_mod( 'primary_color', 'default' ) ) {
    17                 $primary_color = absint( get_theme_mod( 'primary_color', 199 ) );
     17                $primary_color = absint( get_theme_mod( 'primary_color_hue', 199 ) );
    1818        }
    1919
Note: See TracChangeset for help on using the changeset viewer.