Changeset 31429 for trunk/src/wp-admin/async-upload.php
- Timestamp:
- 02/12/2015 01:14:47 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/async-upload.php
r30649 r31429 33 33 require_once( ABSPATH . 'wp-admin/admin.php' ); 34 34 35 header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) ); 36 35 37 if ( isset( $_REQUEST['action'] ) && 'upload-attachment' === $_REQUEST['action'] ) { 36 38 include( ABSPATH . 'wp-admin/includes/ajax-actions.php' ); … … 46 48 wp_die( __( 'You do not have permission to upload files.' ) ); 47 49 } 48 49 header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) );50 50 51 51 // just fetch the detail form for that attachment
Note: See TracChangeset
for help on using the changeset viewer.