[wp-trac] [WordPress Trac] #18281: Browse Happy API detection bugs

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 28 14:26:52 UTC 2011


#18281: Browse Happy API detection bugs
--------------------------------+---------------------------
 Reporter:  nacin               |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  WordPress.org
Component:  WordPress.org site  |    Version:
 Severity:  normal              |   Keywords:
--------------------------------+---------------------------
 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.

 2. 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.trac.wordpress.org. It
 would be fantastic if some people can contribute to it and make it the
 best possible.

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


More information about the wp-trac mailing list