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

WordPress Trac noreply at wordpress.org
Tue Oct 13 17:57:13 UTC 2015


#34266: Support for ranges in WP_Query
-----------------------------+----------------------
 Reporter:  dziudek          |       Owner:
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Query            |     Version:
 Severity:  normal           |  Resolution:  wontfix
 Keywords:  2nd-opinion      |     Focuses:
-----------------------------+----------------------

Comment (by dziudek):

 @boonebgorges , @johnbillion, @akibjorklund   - ok, I understand. In fact
 use cases are very specific and are connected mainly with the date and ID
 ranges. The range function is kind of good replacement in most cases
 (maybe expecting ranges between big values when it will produce very big
 array, but it is a small part of all cases).

 I thought more about this concept and now I'm thinking that this kind of
 syntax sugar needs to implement (especially in date ranges) additional
 conditions and code which could impact the WP_Query performance.

 Thank you for consideration and useful discussion :)

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


More information about the wp-trac mailing list