Changeset 54548 for branches/5.8/src/wp-includes/widgets.php
- Timestamp:
- 10/17/2022 05:46:39 PM (2 years ago)
- Location:
- branches/5.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.8
- Property svn:mergeinfo changed
/trunk merged: 54397,54521-54530,54541
- Property svn:mergeinfo changed
-
branches/5.8/src/wp-includes/widgets.php
r51394 r54548 1535 1535 if ( is_wp_error( $rss ) ) { 1536 1536 if ( is_admin() || current_user_can( 'manage_options' ) ) { 1537 echo '<p><strong>' . __( 'RSS Error:' ) . '</strong> ' . $rss->get_error_message() . '</p>';1537 echo '<p><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $rss->get_error_message() ) . '</p>'; 1538 1538 } 1539 1539 return; … … 1658 1658 1659 1659 if ( ! empty( $args['error'] ) ) { 1660 echo '<p class="widget-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . $args['error']. '</p>';1660 echo '<p class="widget-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $args['error'] ) . '</p>'; 1661 1661 } 1662 1662
Note: See TracChangeset
for help on using the changeset viewer.