[wp-trac] [WordPress Trac] #20776: Improve callback verification while executing hooks
WordPress Trac
wp-trac at lists.automattic.com
Tue May 29 14:47:34 UTC 2012
#20776: Improve callback verification while executing hooks
-------------------------+------------------------------
Reporter: ericlewis | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+------------------------------
Comment (by ericlewis):
Yeah, after thinking about it, I agree. No validation at all would be
better to create the proper PHP errors, while silent invalidation could
lead to even more hard to track issues.
It looks like the array cast on $wp_filter[$tag] came from #4394, marked
as code clean-up. I'd imagine that's good for taking out as well.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20776#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list