[wp-trac] [WordPress Trac] #37835: Add new function to return the current browser

WordPress Trac noreply at wordpress.org
Fri Aug 26 12:28:53 UTC 2016


#37835: Add new function to return the current browser
-----------------------------+----------------------
 Reporter:  xavortm          |       Owner:
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  General          |     Version:
 Severity:  normal           |  Resolution:  wontfix
 Keywords:                   |     Focuses:
-----------------------------+----------------------
Changes (by johnbillion):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 As @pross mentioned, using server-side functionality to target different
 clients is far from ideal. You should, if possible, use feature detection
 instead of client detection, for example with Modernizr.

 Related: #33704.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37835#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list