Make WordPress Core


Ignore:
Timestamp:
11/18/2011 08:43:16 AM (13 years ago)
Author:
azaozz
Message:

Don't show the uploader on iPads (it's pointless), fixes #19004

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/menu.php

    r19202 r19335  
    5757    $submenu['upload.php'][5] = array( __('Library'), 'upload_files', 'upload.php');
    5858    /* translators: add new file */
    59     $submenu['upload.php'][10] = array( _x('Add New', 'file'), 'upload_files', 'media-new.php');
     59    if ( !$is_iphone )
     60        $submenu['upload.php'][10] = array( _x('Add New', 'file'), 'upload_files', 'media-new.php');
    6061
    6162$menu[15] = array( __('Links'), 'manage_links', 'link-manager.php', '', 'menu-top menu-icon-links', 'menu-links', 'div' );
Note: See TracChangeset for help on using the changeset viewer.