[wp-trac] [WordPress Trac] #21083: JS-based feature detection we can use server-side

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 6 14:23:07 UTC 2012


#21083: JS-based feature detection we can use server-side
-------------------------+------------------
 Reporter:  nacin        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.5
Component:  Upload       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------

Comment (by tomauger):

 @markjaquith - totally get that, but in #20923 I provided a totally robust
 solution, but never heard any comments back on it:
 http://core.trac.wordpress.org/ticket/20923#comment:18

 File:
 http://core.trac.wordpress.org/attachment/ticket/20923/WP_Browser_Detection.7z

 I'm all for feature detection, when it's about JavaScript compatibility
 etc. But when certain UAs are known to, for example, render CSS
 differently, or have different implementations of CSS3 standards etc, UA
 detection might be the only solution.

 In the example that I posted, all the maintenance issues you mention are
 addressed. The regexes and UA detection is dealt with, and gets regular
 (ie: daily) independent updates.

 Take a look. Could be another angle on this issue. I'd definitely be happy
 to move this forward if it appears viable. I mean it's basically ready to
 go now, just needs to be either pluginized or patched.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21083#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list