Merge similar strings for plugin update permissions.

props pavelevap.
fixes #32388.

git-svn-id: https://develop.svn.wordpress.org/trunk@33432 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2015-07-26 23:00:11 +00:00
parent 5a23543cc8
commit b8a5123dc9

View File

@ -2963,7 +2963,7 @@ function wp_ajax_update_plugin() {
}
if ( ! current_user_can( 'update_plugins' ) ) {
$status['error'] = __( 'You do not have sufficient permissions to update plugins on this site.' );
$status['error'] = __( 'You do not have sufficient permissions to update plugins for this site.' );
wp_send_json_error( $status );
}