[wp-trac] [WordPress Trac] #45374: apply_filters_ref_array() no longer passes arguments by reference
WordPress Trac
noreply at wordpress.org
Tue Dec 4 12:06:06 UTC 2018
#45374: apply_filters_ref_array() no longer passes arguments by reference
------------------------------------------+------------------------------
Reporter: johnbillion | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 4.7
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+------------------------------
Comment (by henry.wright):
Taken from the manual entry for `call_user_func_array()`
> Before PHP 5.4, referenced variables in param_arr are passed to the
function by reference, regardless of whether the function expects the
respective parameter to be passed by reference. This form of call-time
pass by reference does not emit a deprecation notice, but it is
nonetheless deprecated, and has been removed in PHP 5.4
Ref http://php.net/manual/en/function.call-user-func-array.php
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45374#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list