[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 10:27:07 UTC 2009


#11609: body_class and post_class bug with duplicate .page class possibility
-------------------------+--------------------------------------------------
 Reporter:  Frumph       |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.0
Component:  Themes       |     Version:     
 Severity:  normal       |    Keywords:     
-------------------------+--------------------------------------------------
Changes (by nacin):

  * type:  defect (bug) => enhancement
  * component:  General => Themes
  * milestone:  2.9.1 => 3.0


Comment:

 Bug -> enhancement: CSS allows for element specificity, as you mention. I
 see no harm in leaving body.post and div.post, and you're also not
 proposing to change that when post type is 'post' anyway.

 2.9.1 -> 3.0: Point releases are reserved for security patches and
 blocker-level bugs.

 This isn't backwards compatible. Any theme using div.page will need to
 change that to div.post-page.

 I do like the idea. Why not, in addition to .post, we also add .post-
 type-{type}. See diff as what I mean.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11609#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list