Changeset 54569 for branches/4.9/src/wp-includes/widgets.php
- Timestamp:
- 10/17/2022 06:11:47 PM (2 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
- Property svn:mergeinfo changed
/trunk merged: 54521-54530,54541
- Property svn:mergeinfo changed
-
branches/4.9/src/wp-includes/widgets.php
r43302 r54569 1397 1397 if ( is_wp_error($rss) ) { 1398 1398 if ( is_admin() || current_user_can('manage_options') ) 1399 echo '<p><strong>' . __( 'RSS Error:' ) . '</strong> ' . $rss->get_error_message() . '</p>';1399 echo '<p><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $rss->get_error_message() ) . '</p>'; 1400 1400 return; 1401 1401 } … … 1506 1506 1507 1507 if ( ! empty( $args['error'] ) ) { 1508 echo '<p class="widget-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . $args['error']. '</p>';1508 echo '<p class="widget-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $args['error'] ) . '</p>'; 1509 1509 } 1510 1510
Note: See TracChangeset
for help on using the changeset viewer.