[wp-trac] [WordPress Trac] #11609: body_class and post_class bug with duplicate .page class possibility
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 6 00:49:58 UTC 2010
#11609: body_class and post_class bug with duplicate .page class possibility
-------------------------+--------------------------------------------------
Reporter: Frumph | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.0
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion |
-------------------------+--------------------------------------------------
Comment(by hakre):
I have no problems with duplicate class names on different elements in the
DOM. And even on the same element this won't be any harm I assume. Beware
of the force of the C in CSS.
For strict themers out there I suggest to offer an additional parameter
containing a prefix so that a themer can decide how certain class names
should be prefixed. The default should have a small footprint, maybe the
smallest one, {{{''}}}, an empty string.
Might be usefull for #9015.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11609#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list