Changeset 45966
- Timestamp:
- 09/04/2019 04:46:27 PM (5 years ago)
- Location:
- branches/3.9
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.9
-
branches/3.9/src/wp-admin/admin-ajax.php
r28126 r45966 33 33 require_once( ABSPATH . 'wp-admin/includes/ajax-actions.php' ); 34 34 35 @header( 'Content-Type: text/ html; charset=' . get_option( 'blog_charset' ) );35 @header( 'Content-Type: text/plain; charset=' . get_option( 'blog_charset' ) ); 36 36 @header( 'X-Robots-Tag: noindex' ); 37 37 -
branches/3.9/src/wp-admin/includes/ajax-actions.php
r44855 r45966 1621 1621 'data' => array( 1622 1622 'message' => __( 'The uploaded file is not a valid image. Please try again.' ), 1623 'filename' => $_FILES['async-upload']['name'],1623 'filename' => esc_html( $_FILES['async-upload']['name'] ), 1624 1624 ) 1625 1625 ) ); … … 1636 1636 'data' => array( 1637 1637 'message' => $attachment_id->get_error_message(), 1638 'filename' => $_FILES['async-upload']['name'],1638 'filename' => esc_html( $_FILES['async-upload']['name'] ), 1639 1639 ) 1640 1640 ) );
Note: See TracChangeset
for help on using the changeset viewer.