Changeset 45967
- Timestamp:
- 09/04/2019 04:46:37 PM (5 years ago)
- Location:
- branches/3.8
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.8
-
branches/3.8/src/wp-admin/admin-ajax.php
r26137 r45967 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.8/src/wp-admin/includes/ajax-actions.php
r44856 r45967 1672 1672 'data' => array( 1673 1673 'message' => __( 'The uploaded file is not a valid image. Please try again.' ), 1674 'filename' => $_FILES['async-upload']['name'],1674 'filename' => esc_html( $_FILES['async-upload']['name'] ), 1675 1675 ) 1676 1676 ) ); … … 1687 1687 'data' => array( 1688 1688 'message' => $attachment_id->get_error_message(), 1689 'filename' => $_FILES['async-upload']['name'],1689 'filename' => esc_html( $_FILES['async-upload']['name'] ), 1690 1690 ) 1691 1691 ) );
Note: See TracChangeset
for help on using the changeset viewer.