Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#20405 closed defect (bug) (fixed)

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

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


"Media → Add New" link in admin menu is hidden for mobile devices:

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 4 years ago.

Download all attachments as: .zip

Change History (5)

#1 @azaozz
4 years ago

In [20422]:

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

#4 @SergeyBiryukov
4 years ago

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