[wp-trac] Re: [WordPress Trac] #9514: Add 'page' class to the get_body_class() function

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 16 18:11:52 GMT 2009


#9514: Add 'page' class to the get_body_class() function
-------------------------+--------------------------------------------------
 Reporter:  nathanrice   |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  2.8
Component:  Themes       |     Version:  2.8
 Severity:  normal       |    Keywords:     
-------------------------+--------------------------------------------------

Comment(by nathanrice):

 Replying to [comment:1 filosofo]:
 > I think the conditional is unnecessary; is_page() will be false when
 querying the page_for_posts page.
 >

 Good call. I'm attaching a new diff file that just adds the 'page' class
 without the conditional.

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


More information about the wp-trac mailing list