#20405 closed defect (bug) (fixed)

Don't show links to media-new.php on mobile devices

Reported by: SergeyBiryukov Owned by:
Priority: normal Milestone: 3.4
Component: Administration Version: 3.3.1
Severity: normal Keywords: has-patch
Cc:

Description

"Media → Add New" link in admin menu is hidden for mobile devices:
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.

Attachments (1)

20405.patch (1.7 KB) - added by SergeyBiryukov 14 months ago.

Download all attachments as: .zip

Change History (5)

In [20422]:

Consistently remove links to media-new.php for mobile devices, props SergeyBiryukov, see #20405

Follow-up: #20410

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.