[wp-trac] [WordPress Trac] #21766: modify body_class function to allow non-class items
WordPress Trac
noreply at wordpress.org
Thu May 22 16:27:48 UTC 2014
#21766: modify body_class function to allow non-class items
-----------------------------+------------------------------
Reporter: norcross | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch close | Focuses: template
-----------------------------+------------------------------
Comment (by obenland):
Replying to [comment:12 norcross]:
I understand that, but schema.org is a bit more involved than adding two
attributes to the body element.
`body_class()` is one of the more "elegant" template tags, in terms of
doing what it's expected to do and be named accurately. Let's not make it
confusing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21766#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list