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

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 7 16:01:12 UTC 2010


#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:  has-patch
--------------------------+-------------------------------------------------

Comment(by Denis-de-Bernardy):

 I like the first patch, though I'd suggest using get_queried_object()
 directly.

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


More information about the wp-trac mailing list