Text Changes: Unify two more permission error messages.

Props ramiy.
Fixes #38158. See #34521.

git-svn-id: https://develop.svn.wordpress.org/trunk@38666 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2016-09-28 00:16:44 +00:00
parent 01e8552fd6
commit 36e22efdfd
2 changed files with 2 additions and 2 deletions

View File

@@ -2015,7 +2015,7 @@ function wp_ajax_upload_attachment() {
echo wp_json_encode( array(
'success' => false,
'data' => array(
'message' => __( "You don't have permission to attach files to this post." ),
'message' => __( 'Sorry, you are not allowed to attach files to this post.' ),
'filename' => $_FILES['async-upload']['name'],
)
) );