[wp-trac] Re: [WordPress Trac] #7939: add body_class function
WordPress Trac
wp-trac at lists.automattic.com
Mon Feb 2 13:10:42 GMT 2009
#7939: add body_class function
-------------------------+--------------------------------------------------
Reporter: kretzschmar | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.8
Component: Template | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+--------------------------------------------------
Changes (by ionfish):
* keywords: needs-patch => has-patch
Comment:
Ended up basing it on the Sandbox one since it was more comprehensive,
converted it to the WP coding style. I took out a few things like the
date/time based classes which seemed excessive and would require more
functions, and added an rtl class for RTL languages.
Here's the Sandbox code for comparison.
http://code.google.com/p/sandbox-
theme/source/browse/trunk/functions.php?r=265#20
Might revisit it later and add some stuff back in; let me know if there's
anything you think it needs.
--
Ticket URL: <http://trac.wordpress.org/ticket/7939#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list