Opened 15 months ago

Closed 14 months ago

Last modified 14 months ago

#20100 closed enhancement (duplicate)

Inconsistent menu visibility for Mobile Safari devices

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

Description

When using a device running Mobile Safari the 'Add New' menu under 'Media' is not shown (as iOS devices typically can't upload files). However this is the only place this menu is hidden. This menu is still shown in the admin toolbar and the 'Add New' link is still shown in the Media Library.

Attachments (1)

20100.patch (1.4 KB) - added by johnbillion 15 months ago.

Download all attachments as: .zip

Change History (7)

  • Keywords has-patch added

Patch

comment:2 follow-up: ↓ 3   nacin15 months ago

$is_iphone also detects some other mobile safari devices, some of which (like android) might have the capability to upload files. We should probably improve $is_iphone's detection.

comment:3 in reply to: ↑ 2   johnbillion15 months ago

Replying to nacin:

$is_iphone also detects some other mobile safari devices, some of which (like android) might have the capability to upload files. We should probably improve $is_iphone's detection.

I agree. This was the most simple fix.

  • Milestone changed from Awaiting Review to 3.4

Sorry I didn't search for existing tickets before opening #20405.

Some mobile devices indeed have the capability to upload files. With wp_is_mobile(), the check isn't limited to Safari. Since [20417], it's no longer possible to upload files using Opera Mini on Windows Mobile.

I guess we can use this ticket to improve iPhone/iPad detection.

  • Resolution set to duplicate
  • Status changed from new to closed

Closing this as a dupe of #20405 as the issue has been addressed with a patch and a changeset there.

I've opened #20410 to address improvements to device capability detection.

  • Milestone 3.4 deleted
Note: See TracTickets for help on using tickets.