[wp-trac] [WordPress Trac] #31736: Add locale to get_body_class to enable local WordPress themes/plugins to enable different design for locales
WordPress Trac
noreply at wordpress.org
Sat Oct 17 00:35:02 UTC 2015
#31736: Add locale to get_body_class to enable local WordPress themes/plugins to
enable different design for locales
-------------------------+-------------------------
Reporter: ShinichiN | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: I18N | Version:
Severity: normal | Resolution: worksforme
Keywords: has-patch | Focuses: template
-------------------------+-------------------------
Changes (by SergeyBiryukov):
* status: new => closed
* resolution: => worksforme
* milestone: Awaiting Review =>
Comment:
Per comment:3, locale-based styling is already possible:
{{{
html[lang="en-US"] body {
background: #fff;
}
html[lang="ja"] body {
background: #000;
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31736#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list