[wp-trac] [WordPress Trac] #34266: Support for ranges in WP_Query

WordPress Trac noreply at wordpress.org
Mon Oct 12 17:28:28 UTC 2015


#34266: Support for ranges in WP_Query
-----------------------------+------------------------------
 Reporter:  dziudek          |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Query            |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by akibjorklund):

 What are some common use cases for this enhancement? For post date and
 custom fields there already is an implementation of `BETWEEN`. You example
 of `post__id` does on seem like a very common requirement to me. It is
 also relatively easy to just add a custom where clause with a filter when
 needed.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34266#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list