[wp-trac] [WordPress Trac] #48425: `wp_is_mobile()` doesn't detect iPad Safari anymore
WordPress Trac
noreply at wordpress.org
Thu Oct 24 16:51:37 UTC 2019
#48425: `wp_is_mobile()` doesn't detect iPad Safari anymore
--------------------------+------------------------------
Reporter: manuelmasia | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.2.4
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by chrisvanpatten):
Safari on the iPad now registers itself as a desktop browser in its user
agent, so I'm not sure it's possible to detect that it's actually Safari
on iPad.
I'm also not sure it would be advisable — the idea behind the change is to
bring parity between Safari on Desktop and Safari on Mac, in terms of
functionality. As such, classifying it as a mobile browser might not be
the most accurate classification anymore.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48425#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list