Merge two permission error strings.

Props pavelevap.
Fixes #33745.

git-svn-id: https://develop.svn.wordpress.org/trunk@33933 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2015-09-06 06:41:58 +00:00
parent 5d9dcf3d8a
commit 3853980a9a

View File

@ -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'],
)
) );