Make WordPress Core


Ignore:
Timestamp:
10/17/2022 04:22:04 PM (2 years ago)
Author:
desrosj
Message:

Editor: Bump @wordpress packages for 6.0.3.

Package updates for bug fixes:

  • @wordpress/block-directory: 3.4.15
  • @wordpress/block-library: 7.3.15
  • @wordpress/customize-widgets: 3.3.15
  • @wordpress/edit-post: 6.3.15
  • @wordpress/edit-site: 4.3.15
  • @wordpress/edit-widgets: 4.3.15
  • @wordpress/widgets: 2.4.11
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/6.0/src/wp-includes/blocks/search.php

    r53157 r54543  
    288288    $has_text_color = ! empty( $attributes['style']['color']['text'] );
    289289    if ( $has_text_color ) {
    290         $button_styles[] = sprintf( 'color: %s;', esc_attr( $attributes['style']['color']['text'] ) );
     290        $button_styles[] = sprintf( 'color: %s;', $attributes['style']['color']['text'] );
    291291    }
    292292
    293293    $has_background_color = ! empty( $attributes['style']['color']['background'] );
    294294    if ( $has_background_color ) {
    295         $button_styles[] = sprintf( 'background-color: %s;', esc_attr( $attributes['style']['color']['background'] ) );
     295        $button_styles[] = sprintf( 'background-color: %s;', $attributes['style']['color']['background'] );
    296296    }
    297297
     
    302302
    303303    return array(
    304         'input'   => ! empty( $input_styles ) ? sprintf( ' style="%s"', safecss_filter_attr( implode( ' ', $input_styles ) ) ) : '',
    305         'button'  => ! empty( $button_styles ) ? sprintf( ' style="%s"', safecss_filter_attr( implode( ' ', $button_styles ) ) ) : '',
    306         'wrapper' => ! empty( $wrapper_styles ) ? sprintf( ' style="%s"', safecss_filter_attr( implode( ' ', $wrapper_styles ) ) ) : '',
     304        'input'   => ! empty( $input_styles ) ? sprintf( ' style="%s"', esc_attr( safecss_filter_attr( implode( ' ', $input_styles ) ) ) ) : '',
     305        'button'  => ! empty( $button_styles ) ? sprintf( ' style="%s"', esc_attr( safecss_filter_attr( implode( ' ', $button_styles ) ) ) ) : '',
     306        'wrapper' => ! empty( $wrapper_styles ) ? sprintf( ' style="%s"', esc_attr( safecss_filter_attr( implode( ' ', $wrapper_styles ) ) ) ) : '',
    307307    );
    308308}
Note: See TracChangeset for help on using the changeset viewer.