WordPress.org

Make WordPress Core

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


Ignore:
Timestamp:
03/14/2016 10:53:44 PM (3 years ago)
Author:
rachelbaker
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36208, comment 6

    initial v1  
    11In [attachment:36208.diff] I am matching the behavior of the `any` value for the `post_type` and `post_status` arguments to the WP_Query class, which only includes valid types/statuses that are not excluded from search.
     2See: https://core.trac.wordpress.org/browser/trunk/src/wp-includes/query.php#L3053
     3
    24
    35Needs more unit tests and testing.