Changeset 54555 for branches/5.6/src/wp-includes/widgets.php
- Timestamp:
- 10/17/2022 05:56:34 PM (2 years ago)
- Location:
- branches/5.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.6
- Property svn:mergeinfo changed
/trunk merged: 54521-54530,54541
- Property svn:mergeinfo changed
-
branches/5.6/src/wp-includes/widgets.php
r49561 r54555 1523 1523 if ( is_wp_error( $rss ) ) { 1524 1524 if ( is_admin() || current_user_can( 'manage_options' ) ) { 1525 echo '<p><strong>' . __( 'RSS Error:' ) . '</strong> ' . $rss->get_error_message() . '</p>';1525 echo '<p><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $rss->get_error_message() ) . '</p>'; 1526 1526 } 1527 1527 return; … … 1646 1646 1647 1647 if ( ! empty( $args['error'] ) ) { 1648 echo '<p class="widget-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . $args['error']. '</p>';1648 echo '<p class="widget-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $args['error'] ) . '</p>'; 1649 1649 } 1650 1650
Note: See TracChangeset
for help on using the changeset viewer.