[wp-trac] [WordPress Trac] #19669: body_class - add browser class to the body

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 26 17:05:02 UTC 2011

#19669: body_class - add browser class to the body
 Reporter:  nofearinc    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:  3.3
 Severity:  normal       |  Resolution:
 Keywords:  close        |

Comment (by nofearinc):

 I don't really mind checking for the user agent string. There are
 different tools and plugins checking for compatibility etc that represent
 themselves for other browsers - so why should it be wrong this way?

 @toscho - haven't thought about this - conditional are standard for
 including scripts, but including files with 3-10 lines of CSS styling
 might be an overhead in my opinion (using combine scripts could be a
 solution here).

 I don't see any difference between setting the ID in html tag or placing
 it in the body. Probably I lack seniority in caching.

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

More information about the wp-trac mailing list