[wp-trac] [WordPress Trac] #19669: body_class - add browser class to the body
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 26 22:25:35 UTC 2011
#19669: body_class - add browser class to the body
-------------------------+----------------------
Reporter: nofearinc | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Themes | Version: 3.3
Severity: normal | Resolution: wontfix
Keywords: close |
-------------------------+----------------------
Comment (by dd32):
Replying to [comment:6 azaozz]:
> Replying to [comment:1 scribu]:
>
> Currently we do this for IE8
http://core.trac.wordpress.org/browser/trunk/wp-
admin/includes/template.php#L1652. Can add IE9 and perhaps 10 when it
comes out. IE7 is still loading ie.css which seems the sensible thing to
do until we drop support for it.
Yeah this ticket is talking about for the front-end, not backend.
Here's what TwentyEleven does to get the IE class using conditional
templates, it's fully caching-compliant too and doesn't require extra
stylesheets: http://core.trac.wordpress.org/browser/trunk/wp-
content/themes/twentyeleven/header.php#L11
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19669#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list