Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #47719


Ignore:
Timestamp:
07/17/2019 09:19:10 AM (7 years ago)
Author:
audrasjb
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #47719

    • Property Keywords has-patch needs-unit-tests added; needs-patch removed
  • Ticket #47719 – Description

    initial v2  
    11There is a consistency issue with `include` parameter when used in `WP_Term_query`.
    22
    3 If `include` is set to/contains `[0]`, the query doesn't return any result.
     3If `include` is set to/contains `[0]`, the query returns all terms.
    44
    5 This is not consistent with other query classes, like `WP_query` (using corresponding `post_in` parameter) and even more like `WP_User_query` (using the same `include` parameter).
     5This is not consistent with other query classes, like `WP_query` (using corresponding `post_in` parameter) and even more like `WP_User_query` (using the same `include` parameter).
     6
     7Those doesn't return any result.
    68
    79See reproductible examples below: