Changeset 54546 for branches/3.7/src/wp-includes/default-widgets.php
- Timestamp:
- 10/17/2022 05:39:41 PM (12 months ago)
- Location:
- branches/3.7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7
- Property svn:mergeinfo changed
/trunk merged: 54521-54523,54525,54527,54529,54541
- Property svn:mergeinfo changed
-
branches/3.7/src
- Property svn:mergeinfo changed
/trunk/src merged: 54521-54523,54525,54527,54529,54541
- Property svn:mergeinfo changed
-
branches/3.7/src/wp-includes/default-widgets.php
r33534 r54546 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.