Opened 20 months ago

Last modified 20 months ago

#18893 new enhancement

Update and enhance the basic browser detection to include smart phones and tablets/pads

Reported by: azaozz Owned by:
Priority: normal Milestone: Future Release
Component: General Version:
Severity: normal Keywords:
Cc: kpayne@…

Description

As the title. We need to keep the basic $is_this, $is_that globals for back-compat but can introduce another global that would hold all needed info about the current web browser, device, versions, etc.

Attachments (1)

current_web_browser.patch (5.1 KB) - added by azaozz 20 months ago.

Download all attachments as: .zip

Change History (3)

comment:1 follow-up: ↓ 2   kurtpayne20 months ago

  • Cc kpayne@… added

Have you considered WURFL? It looks like the code is AGPL, but the data file has a new license, so I'm not sure if it's compatible with WordPress' license.

comment:2 in reply to: ↑ 1   azaozz20 months ago

Replying to kurtpayne:

Yes, that was one of the first places I checked. It seems we are "explicitly forbidden" to use their xml data file, so I didn't download it. However it seems one individual can install the app (WURFL), update the data file and test our browser detection with it.

Note: See TracTickets for help on using tickets.