Changes between Initial Version and Version 2 of Ticket #1303
- Timestamp:
- 10/07/2015 04:18:20 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1303
-
Property
Component
changed from
General
tobrowsehappy.com
-
Property
Component
changed from
-
Ticket #1303 – Description
initial v2 1 1 Migrated from: https://core.trac.wordpress.org/ticket/18281 per https://core.trac.wordpress.org/ticket/18281#comment:15 2 2 3 {{{4 3 A few bugs we've noticed with the Browse Happy API so far: 5 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. 6 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. 4 5 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. 6 7 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. 8 7 9 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.) 10 8 11 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. 9 10 }}}