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

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 23 12:35:30 UTC 2012


#21667: Addd some user agent to wp_is_mobile
-----------------------------+-----------------------------
 Reporter:  inpixelitrust    |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Template         |    Version:  3.4.1
 Severity:  normal           |   Keywords:  dev-feedback
-----------------------------+-----------------------------
 Hello,

 I've run some test with the help of the twitter/G+ community on
 wp_is_mobile and found some mobile browser that don't pass the test.

 You can see the test here : http://www.inpixelitrust.fr/blog/wp_is_mobile/

 I was able to get the user agent of 3 of those which don't work :

 HTC sensation z710 4.0.3 native browser (UA:  Mozilla/5.0 (X11;Linux
 x86_64; HTC/Sensation/3.32.162.11; fr-de)
 AplliWebkit/534.24(KHTML,like Gecko) Chrome/11.0.696.32 Safari/534.34 )

 BlackBerry Playbook (Ua Mozilla/5.0 (PlayBook; U; RIM Tablet OS 2.0.1; en-
 US) AplleWebkit/535.8+ (KHTML, like Gecko) Version/7.2.0.1 Safari/535.8+ )

 Could be great to add those to the UA sniffing :)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21667>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list