[wp-trac] [WordPress Trac] #19866: Allow specifications of any wp_posts field(s) in WP_Query

WordPress Trac noreply at wordpress.org
Mon Sep 16 05:13:34 UTC 2013


#19866: Allow specifications of any wp_posts field(s) in WP_Query
-------------------------+------------------
 Reporter:  bigdawggi    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.7
Component:  Query        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------

Comment (by nacin):

 Replying to [comment:5 MikeSchinkel]:
 > A huge +1 on this.  A question though; how will this affect the post
 cache?

 Pretty terribly / it'll completely ignore it. Which is why I am not a huge
 fan of this — it is ripe for abuse and misunderstanding. This would not
 come in "handy" as much as cause people to do really stupid things and
 force new queries whenever WordPress goes "yo, I need a proper post
 object". Maybe direct queries is better advice for stuff like this?

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


More information about the wp-trac mailing list