mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Don't show email errors for people who don't have it.
git-svn-id: https://develop.svn.wordpress.org/trunk@2256 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1574,9 +1574,9 @@ function wp_mail($to, $subject, $message, $headers = '', $more = '') {
|
||||
}
|
||||
|
||||
if ( function_exists('mb_send_mail') )
|
||||
return mb_send_mail($to, $subject, $message, $headers, $more);
|
||||
return @mb_send_mail($to, $subject, $message, $headers, $more);
|
||||
else
|
||||
return mail($to, $subject, $message, $headers, $more);
|
||||
return @mail($to, $subject, $message, $headers, $more);
|
||||
}
|
||||
|
||||
if ( !function_exists('wp_login') ) :
|
||||
|
||||
Reference in New Issue
Block a user