WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 6 months ago

#18893 new enhancement

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

Reported by: azaozz Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Bootstrap/Load Keywords:
Focuses: Cc:

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 3 years ago.

Download all attachments as: .zip

Change History (4)

azaozz3 years ago

comment:1 follow-up: kurtpayne3 years 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 azaozz3 years 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.

comment:3 nacin6 months ago

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