[wp-trac] [WordPress Trac] #48425: `wp_is_mobile()` doesn't detect iPad Safari anymore

WordPress Trac noreply at wordpress.org
Thu Oct 24 22:19:48 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:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by johnbillion):

 * version:  5.2.4 =>


Comment:

 This function is only really used in core to determine whether a browser
 support touch, which is better done client side. See #33704. I think this
 function's days are numbered.

 I presume this particular issue manifests itself by not showing action
 links on list tables in iPad Safari? If so, we should switch to client
 side detection for this, or just remove the show-actions-on-hover
 functionality.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48425#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list