[wp-trac] [WordPress Trac] #12966: get_post_types returning more than desired results

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 12 19:34:43 UTC 2010


#12966: get_post_types returning more than desired results
--------------------------+-------------------------------------------------
 Reporter:  michaelh      |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.0      
Component:  Template      |     Version:  3.0      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by nacin):

 Can't call empty() like that, needs to be a variable. Good thought though
 and there's a few ways to take that and make it work. But we're dealing
 with negligible performance at that point.

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


More information about the wp-trac mailing list