Ticket #38861: 38861.patch
File 38861.patch, 944 bytes (added by , 7 years ago) |
---|
-
wp-includes/widgets.php
1233 1233 1234 1234 if ( is_wp_error($rss) ) { 1235 1235 if ( is_admin() || current_user_can('manage_options') ) 1236 echo '<p> ' . sprintf( __('<strong>RSS Error</strong>: %s'), $rss->get_error_message()) . '</p>';1236 echo '<p><strong>' . __( 'RSS Error:' ) . '</strong> ' . $rss->get_error_message() . '</p>'; 1237 1237 return; 1238 1238 } 1239 1239 … … 1342 1342 $args['show_date'] = isset( $args['show_date'] ) ? (int) $args['show_date'] : (int) $inputs['show_date']; 1343 1343 1344 1344 if ( ! empty( $args['error'] ) ) { 1345 echo '<p class="widget-error"><strong>' . sprintf( __( 'RSS Error: %s' ), $args['error'] ) . '</strong></p>';1345 echo '<p><strong>' . __( 'RSS Error:' ) . '</strong> ' . $args['error'] . '</p>'; 1346 1346 } 1347 1347 1348 1348 $esc_number = esc_attr( $args['number'] );