Changeset 31430 for branches/4.1/src/wp-admin/async-upload.php
- Timestamp:
- 02/12/2015 01:32:26 AM (10 years ago)
- Location:
- branches/4.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.1
-
branches/4.1/src/wp-admin/async-upload.php
r30649 r31430 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.