[wp-trac] [WordPress Trac] #20405: Don't show links to media-new.php on mobile devices

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 10 02:55:08 UTC 2012


#20405: Don't show links to media-new.php on mobile devices
----------------------------+-----------------------
 Reporter:  SergeyBiryukov  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  3.4
Component:  Administration  |    Version:  3.3.1
 Severity:  normal          |   Keywords:  has-patch
----------------------------+-----------------------
 "Media → Add New" link in admin menu is hidden for mobile devices: [[BR]]
 http://core.trac.wordpress.org/browser/tags/3.3.1/wp-admin/menu.php#L59

 However, there are two more links on Media Library screen (Add New) and in
 the Toolbar (New → Media).

 Since `wp-admin/media-new.php` has a check against mobile devices, those
 links lead to a blank screen. We should remove them consistently and
 probably print an error message if a user somehow ends up on that screen
 anyway.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20405>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list