[wp-trac] Re: [WordPress Trac] #6283: apply_filters() bug

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 20 10:50:49 GMT 2009


#6283: apply_filters() bug
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |        Owner:  westi  
     Type:  defect (bug)       |       Status:  closed 
 Priority:  normal             |    Milestone:  2.9    
Component:  General            |      Version:  2.5    
 Severity:  normal             |   Resolution:  invalid
 Keywords:  needs-patch        |  
-------------------------------+--------------------------------------------
Changes (by Denis-de-Bernardy):

  * status:  reopened => closed
  * resolution:  => invalid


Comment:

 Replying to [comment:6 DD32]:
 > That being said, Why is the {{{$accepted_args}}} even there? AFAIK, You
 can call a function with extra vars without issue. (ie. {{{function
 test(){ func_get_args() } test(1,2,3,4);}}}) infact, func_get_args() is
 used commonly by WordPress..

 actually, this only works with functions you define. if you try it with
 php's built-in functions, you'll get a warning.

 closing as invalid then.

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


More information about the wp-trac mailing list