Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #38693, comment 6


Ignore:
Timestamp:
11/29/2016 02:46:27 PM (7 years ago)
Author:
jnylen0
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #38693, comment 6

    initial v1  
    11The collection params filters support this use case really nicely - thanks for the example.
    22
    3 `meta_value_num` [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/class-wp-query.php?rev=39300&marks=690-691#L675 requires `meta_key` to be set in the query] so we shouldn't add that one.
     3`meta_value_num` [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/class-wp-query.php?rev=39300&marks=690-691#L675 requires] `meta_key` to be set in the query so we shouldn't add that one.
    44
    55I can't think of any reason ''not'' to add all of the other parameters mentioned above ('none', 'modified', 'parent', 'rand').