Changeset 54550 for branches/3.9/src/wp-includes/default-widgets.php
- Timestamp:
- 10/17/2022 05:46:53 PM (2 years ago)
- Location:
- branches/3.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.9
- Property svn:mergeinfo changed
/trunk merged: 54521-54523,54525,54527,54529,54541
- Property svn:mergeinfo changed
-
branches/3.9/src/wp-includes/default-widgets.php
r33532 r54550 1013 1013 if ( is_wp_error($rss) ) { 1014 1014 if ( is_admin() || current_user_can('manage_options') ) 1015 echo '<p>' . sprintf( __('<strong>RSS Error</strong>: %s'), $rss->get_error_message() ) . '</p>';1015 echo '<p>' . sprintf( __('<strong>RSS Error</strong>: %s'), esc_html( $rss->get_error_message() ) ) . '</p>'; 1016 1016 return; 1017 1017 } … … 1125 1125 1126 1126 if ( !empty($error) ) 1127 echo '<p class="widget-error"><strong>' . sprintf( __('RSS Error: %s'), $error) . '</strong></p>';1127 echo '<p class="widget-error"><strong>' . sprintf( __('RSS Error: %s'), esc_html( $error ) ) . '</strong></p>'; 1128 1128 1129 1129 if ( $inputs['url'] ) :
Note: See TracChangeset
for help on using the changeset viewer.