Make WordPress Core

Ticket #58499: 58499.diff

File 58499.diff, 1.2 KB (added by thakordarshil, 20 months ago)

Patch Added

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

    diff --git a/src/wp-content/themes/twentytwenty/inc/custom-css.php b/src/wp-content/themes/twentytwenty/inc/custom-css.php
    index 815f5d1b72..9aa13323c7 100644
    a b if ( ! function_exists( 'twentytwenty_get_customizer_css' ) ) { 
    134134                        // Background color.
    135135                        if ( $background && $background !== $background_default ) {
    136136                                twentytwenty_generate_css( '.editor-styles-wrapper', 'background-color', '#' . $background );
    137                                 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 );
     137                                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 );
    138138                        }
    139139
    140140                        // Borders color.