[wp-trac] [WordPress Trac] #36687: Feature to override WP_Query to provide results from other source

WordPress Trac noreply at wordpress.org
Tue Jun 21 12:20:31 UTC 2016


#36687: Feature to override WP_Query to provide results from other source
-----------------------------+--------------------------
 Reporter:  jpdavoutian      |       Owner:  jpdavoutian
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:  4.6
Component:  Query            |     Version:
 Severity:  normal           |  Resolution:  fixed
 Keywords:  has-patch        |     Focuses:
-----------------------------+--------------------------

Comment (by spacedmonkey):

 In 36687.3.diff I refactored how the fields=>ids call is passed. It also
 now does a split query. This removes the early return and pass the query
 through the posts_request_ids and posts_results filters.

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


More information about the wp-trac mailing list