[wp-trac] [WordPress Trac] #11609: body_class and post_class bug with duplicate .page class possibility
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 25 00:37:11 UTC 2009
#11609: body_class and post_class bug with duplicate .page class possibility
--------------------------+-------------------------------------------------
Reporter: Frumph | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9.1
Component: General | Version:
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
the body_class and post_class are both able to return a .page class which
causes problems with css elements and people will have to be a little
smarter with body.page of course. However, having it as .post-<type>
instead in the post-class will alleviate any of .page .page {} problems
that will occur.
Diff included.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11609>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list