From 3853980a9ad4ed5faae311a05f8ae73bf49ae573 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 6 Sep 2015 06:41:58 +0000 Subject: [PATCH] Merge two permission error strings. Props pavelevap. Fixes #33745. git-svn-id: https://develop.svn.wordpress.org/trunk@33933 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 be1e358b4c..a4feb6f0dd 100644 --- a/src/wp-admin/includes/ajax-actions.php +++ b/src/wp-admin/includes/ajax-actions.php @@ -1909,7 +1909,7 @@ function wp_ajax_upload_attachment() { echo wp_json_encode( array( 'success' => false, 'data' => array( - 'message' => __( "You don't have permission to upload files." ), + 'message' => __( 'You do not have permission to upload files.' ), 'filename' => $_FILES['async-upload']['name'], ) ) );