Make WordPress Core

Opened 20 months ago

Last modified 3 months ago

#21667 new enhancement

Add some user agent to wp_is_mobile

Reported by: inpixelitrust Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.4.1
Component: General Keywords: dev-feedback
Focuses: Cc:



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/; 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/ Safari/535.8+ )

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

Change History (4)

comment:1 inpixelitrust20 months ago

  • Summary changed from Addd some user agent to wp_is_mobile to Add some user agent to wp_is_mobile

comment:2 SergeyBiryukov12 months ago

  • Component changed from Template to Administration
  • Type changed from feature request to enhancement

comment:4 ocean903 months ago

  • Component changed from Administration to General
Note: See TracTickets for help on using tickets.