Changeset 54547 for branches/3.8/src/wp-includes/default-widgets.php
- Timestamp:
- 10/17/2022 05:43:54 PM (2 years ago)
- Location:
- branches/3.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.8
- Property svn:mergeinfo changed
/trunk merged: 54521-54523,54525,54527,54529,54541
- Property svn:mergeinfo changed
-
branches/3.8/src/wp-includes/default-widgets.php
r33533 r54547 835 835 if ( is_wp_error($rss) ) { 836 836 if ( is_admin() || current_user_can('manage_options') ) 837 echo '<p>' . sprintf( __('<strong>RSS Error</strong>: %s'), $rss->get_error_message() ) . '</p>';837 echo '<p>' . sprintf( __('<strong>RSS Error</strong>: %s'), esc_html( $rss->get_error_message() ) ) . '</p>'; 838 838 return; 839 839 } … … 943 943 944 944 if ( !empty($error) ) 945 echo '<p class="widget-error"><strong>' . sprintf( __('RSS Error: %s'), $error) . '</strong></p>';945 echo '<p class="widget-error"><strong>' . sprintf( __('RSS Error: %s'), esc_html( $error ) ) . '</strong></p>'; 946 946 947 947 if ( $inputs['url'] ) :
Note: See TracChangeset
for help on using the changeset viewer.