Make WordPress Core


Ignore:
Timestamp:
10/17/2022 04:22:04 PM (21 months 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/rss.php

    r53157 r54543  
    2121
    2222    if ( is_wp_error( $rss ) ) {
    23         return '<div class="components-placeholder"><div class="notice notice-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . $rss->get_error_message() . '</div></div>';
     23        return '<div class="components-placeholder"><div class="notice notice-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $rss->get_error_message() ) . '</div></div>';
    2424    }
    2525
     
    4949                $date = sprintf(
    5050                    '<time datetime="%1$s" class="wp-block-rss__item-publish-date">%2$s</time> ',
    51                     date_i18n( get_option( 'c' ), $date ),
    52                     date_i18n( get_option( 'date_format' ), $date )
     51                    esc_attr( date_i18n( get_option( 'c' ), $date ) ),
     52                    esc_attr( date_i18n( get_option( 'date_format' ), $date ) )
    5353                );
    5454            }
Note: See TracChangeset for help on using the changeset viewer.