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

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 14 11:57:56 UTC 2010


#12212: post__in 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:  post__in      
--------------------------+-------------------------------------------------

Comment(by lifeless85):

 Ok, i'm insisting on this because, i've alredy discussed on the forum
 about the other bug months ago, they told me not to fill a bug, told me it
 was better to manage that by myself on my theme, now i think i'll propose
 to fix that other bug too.

 I belive that even if it's surely convinient now to manage that by myself,
 this is some kind of thing that will make developer crazy.

 So why we have theme tag, custom functions and this kind of thing ? if we
 think people can manage everything by themself they did not need wordpress
 at all...

 this is not a problem of mine, this is a problem on wordpress code, i
 alredy know how to work around on this.

 There's not a dozen other parameter, the parameter that would be afflicted
 by this are four!!

 {{{category__in, post__in, tag__in, tag_slug__in}}} and the cure is
 something like a couple of if ...

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


More information about the wp-trac mailing list