[wp-trac] [WordPress Trac] #12212: post__in and other array_key can't manage empty array properly

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 4 08:05:27 UTC 2010


#12212: post__in and other array_key can't manage empty array properly
--------------------------+-------------------------------------------------
 Reporter:  lifeless85    |       Owner:  ryan           
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Future Release 
Component:  Query         |     Version:  2.9.1          
 Severity:  normal        |    Keywords:  has-patch close
--------------------------+-------------------------------------------------
Changes (by nacin):

  * keywords:  has-patch tested => has-patch close
  * milestone:  3.0 => Future Release


Comment:

 Strongly tempted to wontfix based on other comments in this thread,
 specifically dd32's comment about A) consistency in arguments, and B) "I
 personally believe it's cleaner for the theme to check before it
 mindlessly queries for data"... Moving to future release for now,
 suggested close.

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


More information about the wp-trac mailing list