Changeset 45947 for branches/4.7/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 09/04/2019 04:34:50 PM (4 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/src/wp-admin/includes/ajax-actions.php
r44847 r45947 2009 2009 'data' => array( 2010 2010 'message' => __( 'Sorry, you are not allowed to upload files.' ), 2011 'filename' => $_FILES['async-upload']['name'],2011 'filename' => esc_html( $_FILES['async-upload']['name'] ), 2012 2012 ) 2013 2013 ) ); … … 2023 2023 'data' => array( 2024 2024 'message' => __( 'Sorry, you are not allowed to attach files to this post.' ), 2025 'filename' => $_FILES['async-upload']['name'],2025 'filename' => esc_html( $_FILES['async-upload']['name'] ), 2026 2026 ) 2027 2027 ) ); … … 2047 2047 'data' => array( 2048 2048 'message' => __( 'The uploaded file is not a valid image. Please try again.' ), 2049 'filename' => $_FILES['async-upload']['name'],2049 'filename' => esc_html( $_FILES['async-upload']['name'] ), 2050 2050 ) 2051 2051 ) ); … … 2062 2062 'data' => array( 2063 2063 'message' => $attachment_id->get_error_message(), 2064 'filename' => $_FILES['async-upload']['name'],2064 'filename' => esc_html( $_FILES['async-upload']['name'] ), 2065 2065 ) 2066 2066 ) );
Note: See TracChangeset
for help on using the changeset viewer.