#20100 closed enhancement (duplicate)
Inconsistent menu visibility for Mobile Safari devices
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 3.3.1 |
Component: | Administration | Keywords: | has-patch |
Focuses: | 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)
Change History (7)
#2
follow-up:
↓ 3
@
13 years 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.
#3
in reply to:
↑ 2
@
13 years 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.
#4
@
13 years ago
- 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.
Patch