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

WordPress Trac noreply at wordpress.org
Sat May 14 10:09:47 UTC 2016


#36687: Feature to override WP_Query to provide results from other source
-----------------------------------+-----------------------------
 Reporter:  jpdavoutian            |       Owner:
     Type:  feature request        |      Status:  new
 Priority:  normal                 |   Milestone:  Future Release
Component:  Query                  |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+-----------------------------

Comment (by tlovett1):

 Patch looks good Boone. The only thing that would make this more useful is
 not requiring WP_Query to return WP_Posts. Right now all objects returned
 from posts_pre_query are wrapped in WP_Post.

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


More information about the wp-trac mailing list