Ticket #38158: 38158.patch
| File 38158.patch, 569 bytes (added by , 9 years ago) |
|---|
-
wp-admin/includes/ajax-actions.php
2015 2015 echo wp_json_encode( array( 2016 2016 'success' => false, 2017 2017 '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.' ), 2019 2019 'filename' => $_FILES['async-upload']['name'], 2020 2020 ) 2021 2021 ) );