[wp-trac] [WordPress Trac] #9886: Pass $this as the second argument in WP_Query filters (was: Add an apply_filters_ref_array() function)
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 23 15:20:50 UTC 2010
#9886: Pass $this as the second argument in WP_Query filters
-----------------------------+----------------------------------------------
Reporter: westi | Owner: westi
Type: feature request | Status: new
Priority: normal | Milestone: 3.0
Component: Plugins | Version: 2.8
Severity: major | Keywords: needs-patch early
-----------------------------+----------------------------------------------
Comment(by scribu):
Hm, it seems this approach has already been used for 'posts_search'
already: [13037]
I'm changing the name of the ticket, since apply_filters_ref_array() would
presumably need $this to be set as the first argument, which would break
backwards compatibility big time.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9886#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list