[wp-trac] [WordPress Trac] #15296: Filters don't check that the function is callable

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 2 18:46:16 UTC 2010


#15296: Filters don't check that the function is callable
---------------------------+------------------------------------------------
 Reporter:  aaroncampbell  |       Owner:                 
     Type:  defect (bug)   |      Status:  new            
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Performance    |     Version:  3.0            
 Severity:  normal         |    Keywords:  dev-feedback   
---------------------------+------------------------------------------------

Comment(by nacin):

 When the callback doesn't exist, an E_WARNING is generated. I see no
 reason to guard against an obvious error such as that.

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


More information about the wp-trac mailing list