[wp-trac] [WordPress Trac] #15322: Skip category and tag queries on non posts in get_post_class()

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 5 16:42:08 UTC 2010


#15322: Skip category and tag queries on non posts in get_post_class()
------------------------------------+---------------------------------------
 Reporter:  mfields                 |        Owner:        
     Type:  defect (bug)            |       Status:  closed
 Priority:  normal                  |    Milestone:  3.1   
Component:  Template                |      Version:  3.1   
 Severity:  normal                  |   Resolution:  fixed 
 Keywords:  dev-feedback has-patch  |  
------------------------------------+---------------------------------------

Comment(by scribu):

 Well, the patch was made relative to the wp-includes folder, when it
 should have been made relative to the wp folder.

 Less importantly, {{{if(}}} should have been {{{if (}}} as per the coding
 standards.

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


More information about the wp-trac mailing list