[wp-trac] [WordPress Trac] #18320: warning pluggable.php on line 273 - using apply_filters, should use apply_filters_ref_array?
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 3 13:00:06 UTC 2011
#18320: warning pluggable.php on line 273 - using apply_filters, should use
apply_filters_ref_array?
--------------------------+-----------------------------
Reporter: anmari | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Mail | Version: 3.2.1
Severity: normal | Keywords:
--------------------------+-----------------------------
In a ms localhost testing site:
Warning: extract() [function.extract]: First argument should be an array
in ...\wp-includes\pluggable.php on line 273
Line 273 has:
{{{
extract( apply_filters( 'wp_mail', compact( 'to', 'subject',
'message', 'headers', 'attachments' ) ) );
}}}
presumably this should use "apply_filters_ref_array" as "apply_filters"
only expects a single value and returns a single value?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18320>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list