[wp-trac] [WordPress Trac] #14658: image_downsize filter always gets only false argument, other are not passed

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 20 16:48:46 UTC 2010


#14658: image_downsize filter always gets only false argument, other are not passed
----------------------------+-----------------------------------------------
 Reporter:  mariokostelac   |        Owner:         
     Type:  defect (bug)    |       Status:  closed 
 Priority:  normal          |    Milestone:         
Component:  General         |      Version:  3.0.1  
 Severity:  normal          |   Resolution:  invalid
 Keywords:  image_downsize  |  
----------------------------+-----------------------------------------------
Changes (by nacin):

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  Awaiting Review =>


Comment:

 If you want more than one argument passed to your callback, you need to
 tell WordPress in your add_filter() call.

 `add_filter( $filter, $callback, $priority = 10, $number_of_args = 1 );`

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


More information about the wp-trac mailing list