Ticket #35069: 35069.diff
File 35069.diff, 479 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/pluggable.php
245 245 */ 246 246 $atts = apply_filters( 'wp_mail', compact( 'to', 'subject', 'message', 'headers', 'attachments' ) ); 247 247 248 // A plugin disallowed this email 249 if( empty( $atts ) ) { 250 return false; 251 } 252 248 253 if ( isset( $atts['to'] ) ) { 249 254 $to = $atts['to']; 250 255 }