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:
parent
5d9dcf3d8a
commit
3853980a9a
@ -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'],
|
||||
)
|
||||
) );
|
||||
|
Loading…
Reference in New Issue
Block a user