Changeset 45936 for trunk/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 09/04/2019 04:08:03 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r45934 r45936 2509 2509 'data' => array( 2510 2510 'message' => __( 'Sorry, you are not allowed to upload files.' ), 2511 'filename' => $_FILES['async-upload']['name'],2511 'filename' => esc_html( $_FILES['async-upload']['name'] ), 2512 2512 ), 2513 2513 ) … … 2526 2526 'data' => array( 2527 2527 'message' => __( 'Sorry, you are not allowed to attach files to this post.' ), 2528 'filename' => $_FILES['async-upload']['name'],2528 'filename' => esc_html( $_FILES['async-upload']['name'] ), 2529 2529 ), 2530 2530 ) … … 2553 2553 'data' => array( 2554 2554 'message' => __( 'The uploaded file is not a valid image. Please try again.' ), 2555 'filename' => $_FILES['async-upload']['name'],2555 'filename' => esc_html( $_FILES['async-upload']['name'] ), 2556 2556 ), 2557 2557 ) … … 2570 2570 'data' => array( 2571 2571 'message' => $attachment_id->get_error_message(), 2572 'filename' => $_FILES['async-upload']['name'],2572 'filename' => esc_html( $_FILES['async-upload']['name'] ), 2573 2573 ), 2574 2574 )
Note: See TracChangeset
for help on using the changeset viewer.