From ecb95b299c2cb4616aecc3b5996c46fc31ba8748 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 19 Nov 2016 01:56:01 +0000 Subject: [PATCH] I18N: Merge two 'RSS Error:' strings. Props ramiy. Fixes #38861. git-svn-id: https://develop.svn.wordpress.org/trunk@39311 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/widgets.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/widgets.php b/src/wp-includes/widgets.php index 3540be9b30..30c1fce53d 100644 --- a/src/wp-includes/widgets.php +++ b/src/wp-includes/widgets.php @@ -1233,7 +1233,7 @@ function wp_widget_rss_output( $rss, $args = array() ) { if ( is_wp_error($rss) ) { if ( is_admin() || current_user_can('manage_options') ) - echo '

' . sprintf( __('RSS Error: %s'), $rss->get_error_message() ) . '

'; + echo '

' . __( 'RSS Error:' ) . ' ' . $rss->get_error_message() . '

'; return; } @@ -1342,7 +1342,7 @@ function wp_widget_rss_form( $args, $inputs = null ) { $args['show_date'] = isset( $args['show_date'] ) ? (int) $args['show_date'] : (int) $inputs['show_date']; if ( ! empty( $args['error'] ) ) { - echo '

' . sprintf( __( 'RSS Error: %s' ), $args['error'] ) . '

'; + echo '

' . __( 'RSS Error:' ) . ' ' . $args['error'] . '

'; } $esc_number = esc_attr( $args['number'] );