[wp-trac] [WordPress Trac] #3975: Last argument in filters is not available

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 15 12:55:34 GMT 2007


#3975: Last argument in filters is not available
---------------------+------------------------------------------------------
 Reporter:  harkos   |       Owner:  harkos
     Type:  defect   |      Status:  new   
 Priority:  normal   |   Milestone:  2.1.3 
Component:  General  |     Version:  2.1.2 
 Severity:  normal   |    Keywords:        
---------------------+------------------------------------------------------
 Working on a multilanguage plugin, I found that the last argument being
 passed to the called filter is not really being passed. Hacking through
 WP, I found out the slicing of the argument array is removing that
 argument. I simply increased the number of the last argument to slice and
 it worked. A patch to this is attached.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3975>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list