Merge some strings. props pavelevap. fixes #22306.

git-svn-id: https://develop.svn.wordpress.org/trunk@22430 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2012-11-07 19:37:54 +00:00
parent a7097f60d5
commit 496ae7b83f
3 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -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');