[wp-trac] [WordPress Trac] #19669: body_class - add browser class to the body
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 26 13:29:33 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 |
-------------------------+------------------------------
Changes (by scribu):
* keywords: => close
Comment:
Such a browser class would depend on the user agent string, which is not
always accurate.
If you want to target IE versions, a more reliable method is employed in
the Twentyeleven theme, using conditional comments:
http://core.trac.wordpress.org/browser/tags/3.3/wp-
content/themes/twentyeleven/header.php#L12
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19669#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list