[wp-trac] [WordPress Trac] #10667: Integration of Search API into core
WordPress Trac
wp-trac at lists.automattic.com
Wed Feb 10 02:42:52 UTC 2010
#10667: Integration of Search API into core
----------------------------+-----------------------------------------------
Reporter: jshreve | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.0
Component: General | Version: 2.9
Severity: normal | Keywords: needs-patch
----------------------------+-----------------------------------------------
Comment(by filosofo):
plug-objects.diff really needs its own ticket.
But while it's here, wouldn't it be better handled by a filter?
{{{
$WP_Query = apply_filters('wp_query_class', 'WP_Query');
$wp_the_query =& new $WP_Query()
}}}
That way you have a decent chance through priority of deciding among
competing plugins.
And don't forget about the half-dozen or so other instantiations of
WP_Query in core.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10667#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list