diff --git a/wp-admin/update.php b/wp-admin/update.php index 4fdf2064c7..687142e218 100644 --- a/wp-admin/update.php +++ b/wp-admin/update.php @@ -90,7 +90,7 @@ if ( isset($_GET['action']) ) { } elseif ( 'install-plugin' == $action ) { if ( ! current_user_can('install_plugins') ) - wp_die(__('You do not have sufficient permissions to install plugins for this site.')); + wp_die( __( 'You do not have sufficient permissions to install plugins on this site.' ) ); include_once ABSPATH . 'wp-admin/includes/plugin-install.php'; //for plugins_api.. @@ -121,7 +121,7 @@ if ( isset($_GET['action']) ) { } elseif ( 'upload-plugin' == $action ) { if ( ! current_user_can('install_plugins') ) - wp_die(__('You do not have sufficient permissions to install plugins for this site.')); + wp_die( __( 'You do not have sufficient permissions to install plugins on this site.' ) ); check_admin_referer('plugin-upload'); @@ -194,7 +194,7 @@ if ( isset($_GET['action']) ) { } elseif ( 'install-theme' == $action ) { if ( ! current_user_can('install_themes') ) - wp_die(__('You do not have sufficient permissions to install themes for this site.')); + wp_die( __( 'You do not have sufficient permissions to install themes on this site.' ) ); include_once ABSPATH . 'wp-admin/includes/theme-install.php'; //for themes_api.. @@ -224,7 +224,7 @@ if ( isset($_GET['action']) ) { } elseif ( 'upload-theme' == $action ) { if ( ! current_user_can('install_themes') ) - wp_die(__('You do not have sufficient permissions to install themes for this site.')); + wp_die( __( 'You do not have sufficient permissions to install themes on this site.' ) ); check_admin_referer('theme-upload'); diff --git a/wp-includes/default-widgets.php b/wp-includes/default-widgets.php index ddd9d8ac63..5942f5bfd4 100644 --- a/wp-includes/default-widgets.php +++ b/wp-includes/default-widgets.php @@ -844,7 +844,7 @@ function wp_widget_rss_output( $rss, $args = array() ) { $show_date = (int) $show_date; if ( !$rss->get_item_quantity() ) { - echo '