Changeset 54568 for branches/4.8/src/wp-includes/widgets.php
- Timestamp:
- 10/17/2022 06:10:19 PM (2 years ago)
- Location:
- branches/4.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.8
- Property svn:mergeinfo changed
/trunk merged: 54521-54530,54541
- Property svn:mergeinfo changed
-
branches/4.8/src/wp-includes/widgets.php
r41044 r54568 1234 1234 if ( is_wp_error($rss) ) { 1235 1235 if ( is_admin() || current_user_can('manage_options') ) 1236 echo '<p><strong>' . __( 'RSS Error:' ) . '</strong> ' . $rss->get_error_message() . '</p>';1236 echo '<p><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $rss->get_error_message() ) . '</p>'; 1237 1237 return; 1238 1238 } … … 1343 1343 1344 1344 if ( ! empty( $args['error'] ) ) { 1345 echo '<p class="widget-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . $args['error']. '</p>';1345 echo '<p class="widget-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $args['error'] ) . '</p>'; 1346 1346 } 1347 1347
Note: See TracChangeset
for help on using the changeset viewer.