Make WordPress Core


Ignore:
Timestamp:
11/11/2019 09:03:55 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Bundled Themes: Update Twenty Twenty.

This brings Twenty Twenty in sync with GitHub. For a full list of changes since 5.3 RC4, see https://github.com/WordPress/twentytwenty/compare/c267289...ab5fa23.

Reviewed by SergeyBiryukov.
Props williampatton, poena, andersnoren, desrosj, schlessera, leprincenoir, alextran, aristath, b-07, allancole, karmatosed, pierlo, joen, ianbelanger.
See #48110, #48386, #48450, #48505.
Merges [46701], [46702], [46711] to the 5.3 branch.
Fixes #48557.

Location:
branches/5.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.3

  • branches/5.3/src/wp-content/themes/twentytwenty/inc/custom-css.php

    r46614 r46712  
    130130            // Background color.
    131131            if ( $background && $background !== $background_default ) {
    132                 twentytwenty_generate_css( '.editor-styles-wrapper', 'background', '#' . $background );
     132                twentytwenty_generate_css( '.editor-styles-wrapper', 'background-color', '#' . $background );
     133                twentytwenty_generate_css( '.has-background.has-primary-background-color:not(.has-text-color),.has-background.has-primary-background-color *:not(.has-text-color),.has-background.has-accent-background-color:not(.has-text-color),.has-background.has-accent-background-color *:not(.has-text-color)', 'color', '#' . $background );
    133134            }
    134135
     
    165166            // Background color.
    166167            if ( $background && $background !== $background_default ) {
    167                 twentytwenty_generate_css( 'body#tinymce.wp-editor.content', 'background', '#' . $background );
     168                twentytwenty_generate_css( 'body#tinymce.wp-editor.content', 'background-color', '#' . $background );
    168169            }
    169170
Note: See TracChangeset for help on using the changeset viewer.