mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Don't hide links to the upload form and show an error for mobile devices that cannot upload, see #20410
git-svn-id: https://develop.svn.wordpress.org/trunk@20449 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -9,8 +9,4 @@
|
||||
$_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');
|
||||
|
||||
Reference in New Issue
Block a user