[wp-trac] [WordPress Trac] #19986: Issue with add_filter() and add_action() when using anonymous functions.
WordPress Trac
wp-trac at lists.automattic.com
Wed Feb 8 06:16:26 UTC 2012
#19986: Issue with add_filter() and add_action() when using anonymous functions.
--------------------------+------------------------------
Reporter: pagesimplify | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 3.3.1
Severity: minor | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Changes (by kurtpayne):
* cc: kpayne@… (added)
Comment:
Replying to [comment:3 SergeyBiryukov]:
> Anonymous function names indeed start with a null character, in order to
ensure they don't clash with user-defined functions
You beat me to it!
Replying to [comment:2 pagesimplify]:
> Hopefully, this can resolve a lot of random issues people experience
with no real explanation.
It doesn't look like the patch shouldn't cause a problem. But a patch
like this has a lot of implications. It would probably be best to
understand ''exactly'' what broke to begin with.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19986#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list