[wp-trac] [WordPress Trac] #9886: Pass $this as the second argument in WP_Query filters

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 23 15:32:48 UTC 2010


#9886: Pass $this as the second argument in WP_Query filters
-------------------------+--------------------------------------------------
 Reporter:  westi        |       Owner:  westi                 
     Type:  enhancement  |      Status:  new                   
 Priority:  normal       |   Milestone:  3.0                   
Component:  Plugins      |     Version:  2.8                   
 Severity:  major        |    Keywords:  has-patch commit early
-------------------------+--------------------------------------------------
Changes (by scribu):

  * keywords:  needs-patch early => has-patch commit early
  * type:  feature request => enhancement


Comment:

 Proposed patch simply passes (by reference, for PHP4 compatibility) $this
 as the second parameter for each filter in the WP_Query class.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9886#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list