Changeset 54542 for branches/6.0/src/wp-includes/widgets.php
- Timestamp:
- 10/17/2022 12:41:05 PM (2 years ago)
- Location:
- branches/6.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.0
-
branches/6.0/src/wp-includes/widgets.php
r52362 r54542 1579 1579 if ( is_wp_error( $rss ) ) { 1580 1580 if ( is_admin() || current_user_can( 'manage_options' ) ) { 1581 echo '<p><strong>' . __( 'RSS Error:' ) . '</strong> ' . $rss->get_error_message() . '</p>';1581 echo '<p><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $rss->get_error_message() ) . '</p>'; 1582 1582 } 1583 1583 return; … … 1702 1702 1703 1703 if ( ! empty( $args['error'] ) ) { 1704 echo '<p class="widget-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . $args['error']. '</p>';1704 echo '<p class="widget-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $args['error'] ) . '</p>'; 1705 1705 } 1706 1706
Note: See TracChangeset
for help on using the changeset viewer.