[wp-trac] [WordPress Trac] #11439: get_body_class() does unnecessary work

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 21 08:36:09 UTC 2009


#11439: get_body_class() does unnecessary work
--------------------------+-------------------------------------------------
 Reporter:  filosofo      |       Owner:  ryan                           
     Type:  defect (bug)  |      Status:  new                            
 Priority:  normal        |   Milestone:  3.0                            
Component:  Template      |     Version:  2.9                            
 Severity:  normal        |    Keywords:  get_body_class has-patch tested
--------------------------+-------------------------------------------------
Changes (by hakre):

  * keywords:  get_body_class has-patch => get_body_class has-patch tested


Comment:

 Tested against current head. Works. Then I reviewed the code and {{{AND
 post_status != 'private'}}} looks to me like this fixes some other bug. I
 have created an additional patch w/o that segment. If applied, a new
 ticket might be created based on the finding by filosofo.

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


More information about the wp-trac mailing list