WordPress/wp-admin/media-new.php

17 lines
312 B
PHP

<?php
/**
* Upload new media Administration Screen.
*
* @package WordPress
* @subpackage Administration
*/
$_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');