Changeset 54563 for branches/5.2/src/wp-includes/widgets.php
- Timestamp:
- 10/17/2022 06:08:00 PM (2 years ago)
- Location:
- branches/5.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.2
- Property svn:mergeinfo changed
/trunk merged: 54521-54530,54541
- Property svn:mergeinfo changed
-
branches/5.2/src/wp-includes/widgets.php
r44585 r54563 1447 1447 if ( is_wp_error( $rss ) ) { 1448 1448 if ( is_admin() || current_user_can( 'manage_options' ) ) { 1449 echo '<p><strong>' . __( 'RSS Error:' ) . '</strong> ' . $rss->get_error_message() . '</p>';1449 echo '<p><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $rss->get_error_message() ) . '</p>'; 1450 1450 } 1451 1451 return; … … 1570 1570 1571 1571 if ( ! empty( $args['error'] ) ) { 1572 echo '<p class="widget-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . $args['error']. '</p>';1572 echo '<p class="widget-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $args['error'] ) . '</p>'; 1573 1573 } 1574 1574
Note: See TracChangeset
for help on using the changeset viewer.