Make WordPress Core

Opened 7 years ago

Last modified 3 years ago

#18281 closed defect (bug)

Browse Happy API detection bugs — at Version 1

Reported by: nacin Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: WordPress.org site Keywords: has-patch
Focuses: Cc:

Description (last modified by nacin)

A few bugs we've noticed with the Browse Happy API so far:

  1. Mobile versions need to be labeled as such. Specifically, Mobile Safari, Opera Mini, and the Galaxy tablet, I believe. This should mean that the browser doesn't match with our list of five.
  1. For IE, we need to be looking at the Trident version numbers. Problem is, IE9 might be using a compatibility UA, which means it would get identified as IE7. Trident/5.0 is IE9, Trident/4.0 is using IE8.

I think the architecture of the API code needs some love. It served its purpose, but it's a bit inflexible for expansion. (See the Kindle hack and such.)

I'm going to open source this code onto http://code.svn.wordpress.org. It would be fantastic if some people can contribute to it and make it the best possible.

Change History (1)

#1 @nacin
7 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.