[wp-trac] [WordPress Trac] #19986: Issue with add_filter() and add_action() when using anonymous functions.
WordPress Trac
noreply at wordpress.org
Tue Jan 3 12:32:54 UTC 2017
#19986: Issue with add_filter() and add_action() when using anonymous functions.
-------------------------------------------------+-------------------------
Reporter: pagesimplify | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Plugins | Version: 3.3.1
Severity: minor | Resolution: wontfix
Keywords: has-patch dev-feedback needs-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Changes (by dd32):
* status: assigned => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
5 years on, I'm marking this as `wontfix`.
`create_function()` has mostly been replaced by utilising anonymous
functions directly (which don't use the null naming scheme, but instead go
through `spl_object_hash()`), and if XDebug hasn't been updated to support
null array items yet, I don't think we need to work around it's issues.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19986#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list