Ticket #23291: 23291.diff
File 23291.diff, 1.1 KB (added by , 12 years ago) |
---|
-
wp-includes/pluggable.php
356 356 } 357 357 $phpmailer->AddAddress( $recipient, $recipient_name); 358 358 } catch ( phpmailerException $e ) { 359 trigger_error( $e->getMessage(), E_USER_NOTICE ); 359 360 continue; 360 361 } 361 362 } … … 378 379 } 379 380 $phpmailer->AddCc( $recipient, $recipient_name ); 380 381 } catch ( phpmailerException $e ) { 382 trigger_error( $e->getMessage(), E_USER_NOTICE ); 381 383 continue; 382 384 } 383 385 } … … 396 398 } 397 399 $phpmailer->AddBcc( $recipient, $recipient_name ); 398 400 } catch ( phpmailerException $e ) { 401 trigger_error( $e->getMessage(), E_USER_NOTICE ); 399 402 continue; 400 403 } 401 404 } … … 439 442 try { 440 443 $phpmailer->AddAttachment($attachment); 441 444 } catch ( phpmailerException $e ) { 445 trigger_error( $e->getMessage(), E_USER_NOTICE ); 442 446 continue; 443 447 } 444 448 } … … 450 454 try { 451 455 $phpmailer->Send(); 452 456 } catch ( phpmailerException $e ) { 457 trigger_error( $e->getMessage(), E_USER_NOTICE ); 453 458 return false; 454 459 } 455 460