Make WordPress Core


Ignore:
Timestamp:
09/28/2016 12:16:44 AM (8 years ago)
Author:
SergeyBiryukov
Message:

Text Changes: Unify two more permission error messages.

Props ramiy.
Fixes #38158. See #34521.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r38625 r38666  
    20162016                'success' => false,
    20172017                'data'    => array(
    2018                     'message'  => __( "You don't have permission to attach files to this post." ),
     2018                    'message'  => __( 'Sorry, you are not allowed to attach files to this post.' ),
    20192019                    'filename' => $_FILES['async-upload']['name'],
    20202020                )
Note: See TracChangeset for help on using the changeset viewer.