Use EXTR_SKIP when extracting. see #4468

git-svn-id: https://develop.svn.wordpress.org/trunk@5708 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2007-06-14 22:45:40 +00:00
parent 0f0788d24d
commit 09da00f7fe
15 changed files with 33 additions and 33 deletions

View File

@@ -168,7 +168,7 @@ function wp_mail( $to, $subject, $message, $headers = '' ) {
}
// Compact the input, apply the filters, and extract them back out
extract( apply_filters( 'wp_mail', compact( 'to', 'subject', 'message', 'headers' ) ) );
extract( apply_filters( 'wp_mail', compact( 'to', 'subject', 'message', 'headers' ) ), EXTR_SKIP );
// Default headers
if ( empty( $headers ) ) {