diff --git a/wp-admin/media-new.php b/wp-admin/media-new.php index 539b4765ac..37f1db8f2b 100644 --- a/wp-admin/media-new.php +++ b/wp-admin/media-new.php @@ -6,10 +6,11 @@ * @subpackage Administration */ -if ( wp_is_mobile() ) // cannot upload files from mobile devices - return; - $_GET['inline'] = 'true'; /** Administration bootstrap */ require_once('./admin.php'); + +if ( wp_is_mobile() ) // cannot upload files from mobile devices + return; + require_once('./media-upload.php');