Changeset 45944 for branches/4.8/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 09/04/2019 04:30:11 PM (6 years ago)
- Location:
- branches/4.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.8
-
branches/4.8/src/wp-admin/includes/ajax-actions.php
r44846 r45944 2066 2066 'data' => array( 2067 2067 'message' => __( 'Sorry, you are not allowed to upload files.' ), 2068 'filename' => $_FILES['async-upload']['name'],2068 'filename' => esc_html( $_FILES['async-upload']['name'] ), 2069 2069 ) 2070 2070 ) ); … … 2080 2080 'data' => array( 2081 2081 'message' => __( 'Sorry, you are not allowed to attach files to this post.' ), 2082 'filename' => $_FILES['async-upload']['name'],2082 'filename' => esc_html( $_FILES['async-upload']['name'] ), 2083 2083 ) 2084 2084 ) ); … … 2104 2104 'data' => array( 2105 2105 'message' => __( 'The uploaded file is not a valid image. Please try again.' ), 2106 'filename' => $_FILES['async-upload']['name'],2106 'filename' => esc_html( $_FILES['async-upload']['name'] ), 2107 2107 ) 2108 2108 ) ); … … 2119 2119 'data' => array( 2120 2120 'message' => $attachment_id->get_error_message(), 2121 'filename' => $_FILES['async-upload']['name'],2121 'filename' => esc_html( $_FILES['async-upload']['name'] ), 2122 2122 ) 2123 2123 ) );
Note: See TracChangeset
for help on using the changeset viewer.