[wp-trac] [WordPress Trac] #21667: Add some user agent to wp_is_mobile

WordPress Trac noreply at wordpress.org
Mon Apr 18 10:44:37 UTC 2016


#21667: Add some user agent to wp_is_mobile
-------------------------------------------------+-------------------------
 Reporter:  inpixelitrust                        |       Owner:
     Type:  enhancement                          |  stevenkword
 Priority:  normal                               |      Status:  assigned
Component:  General                              |   Milestone:  Awaiting
 Severity:  normal                               |  Review
 Keywords:  dev-feedback has-patch needs-unit-   |     Version:  3.4.1
  tests                                          |  Resolution:
                                                 |     Focuses:
-------------------------------------------------+-------------------------

Comment (by Mte90):

 There are many themes that use this function and also plugin.
 I know that the patch contain a complex regex but recognize the majority
 of mobile os.
 Maybe we can choose to use a different regex more light.

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


More information about the wp-trac mailing list