Changeset 45948 for branches/4.6/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 09/04/2019 04:35:12 PM (7 years ago)
- Location:
- branches/4.6
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-admin/includes/ajax-actions.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.6
-
branches/4.6/src/wp-admin/includes/ajax-actions.php
r44848 r45948 2023 2023 'data' => array( 2024 2024 'message' => __( 'Sorry, you are not allowed to upload files.' ), 2025 'filename' => $_FILES['async-upload']['name'],2025 'filename' => esc_html( $_FILES['async-upload']['name'] ), 2026 2026 ) 2027 2027 ) ); … … 2037 2037 'data' => array( 2038 2038 'message' => __( "You don't have permission to attach files to this post." ), 2039 'filename' => $_FILES['async-upload']['name'],2039 'filename' => esc_html( $_FILES['async-upload']['name'] ), 2040 2040 ) 2041 2041 ) ); … … 2061 2061 'data' => array( 2062 2062 'message' => __( 'The uploaded file is not a valid image. Please try again.' ), 2063 'filename' => $_FILES['async-upload']['name'],2063 'filename' => esc_html( $_FILES['async-upload']['name'] ), 2064 2064 ) 2065 2065 ) ); … … 2076 2076 'data' => array( 2077 2077 'message' => $attachment_id->get_error_message(), 2078 'filename' => $_FILES['async-upload']['name'],2078 'filename' => esc_html( $_FILES['async-upload']['name'] ), 2079 2079 ) 2080 2080 ) );
Note: See TracChangeset
for help on using the changeset viewer.