Make WordPress Core

Ticket #38861: 38861.patch

File 38861.patch, 944 bytes (added by ramiy, 7 years ago)
  • wp-includes/widgets.php

     
    12331233
    12341234        if ( is_wp_error($rss) ) {
    12351235                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>';
    12371237                return;
    12381238        }
    12391239
     
    13421342        $args['show_date']      = isset( $args['show_date'] ) ? (int) $args['show_date'] : (int) $inputs['show_date'];
    13431343
    13441344        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>';
    13461346        }
    13471347
    13481348        $esc_number = esc_attr( $args['number'] );