Changeset 54571 for branches/5.0/src/wp-includes/widgets.php
- Timestamp:
- 10/17/2022 06:13:25 PM (2 years ago)
- Location:
- branches/5.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0
- Property svn:mergeinfo changed
/trunk merged: 54521-54530,54541
- Property svn:mergeinfo changed
-
branches/5.0/src/wp-includes/widgets.php
r43827 r54571 1409 1409 if ( is_wp_error($rss) ) { 1410 1410 if ( is_admin() || current_user_can('manage_options') ) 1411 echo '<p><strong>' . __( 'RSS Error:' ) . '</strong> ' . $rss->get_error_message() . '</p>';1411 echo '<p><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $rss->get_error_message() ) . '</p>'; 1412 1412 return; 1413 1413 } … … 1518 1518 1519 1519 if ( ! empty( $args['error'] ) ) { 1520 echo '<p class="widget-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . $args['error']. '</p>';1520 echo '<p class="widget-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $args['error'] ) . '</p>'; 1521 1521 } 1522 1522
Note: See TracChangeset
for help on using the changeset viewer.