From 83e3bc084bd08e7cfedde4b8e53733c539b98072 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 4 Jul 2016 22:09:32 +0000 Subject: [PATCH] Text Changes: Remove duplicate string, use the one we already have. See #34521. git-svn-id: https://develop.svn.wordpress.org/trunk@37960 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/ajax-actions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/ajax-actions.php b/src/wp-admin/includes/ajax-actions.php index a25f34a4e2..e5b3262bd5 100644 --- a/src/wp-admin/includes/ajax-actions.php +++ b/src/wp-admin/includes/ajax-actions.php @@ -3397,7 +3397,7 @@ function wp_ajax_update_theme() { ); if ( ! current_user_can( 'update_themes' ) ) { - $status['errorMessage'] = __( 'Sorry, you are not allowed to update themes on this site.' ); + $status['errorMessage'] = __( 'Sorry, you are not allowed to update themes for this site.' ); wp_send_json_error( $status ); }