Changeset 54556 for branches/5.5/src/wp-includes/widgets.php
- Timestamp:
- 10/17/2022 05:58:36 PM (2 years ago)
- Location:
- branches/5.5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.5
- Property svn:mergeinfo changed
/trunk merged: 54521-54530,54541
- Property svn:mergeinfo changed
-
branches/5.5/src/wp-includes/widgets.php
r48590 r54556 1501 1501 if ( is_wp_error( $rss ) ) { 1502 1502 if ( is_admin() || current_user_can( 'manage_options' ) ) { 1503 echo '<p><strong>' . __( 'RSS Error:' ) . '</strong> ' . $rss->get_error_message() . '</p>';1503 echo '<p><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $rss->get_error_message() ) . '</p>'; 1504 1504 } 1505 1505 return; … … 1624 1624 1625 1625 if ( ! empty( $args['error'] ) ) { 1626 echo '<p class="widget-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . $args['error']. '</p>';1626 echo '<p class="widget-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $args['error'] ) . '</p>'; 1627 1627 } 1628 1628
Note: See TracChangeset
for help on using the changeset viewer.