Remove wordpressmu_wp_mail_from(). fixes #14586
git-svn-id: https://develop.svn.wordpress.org/trunk@15678 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0cfb13ac25
commit
4c2c9bc17d
@ -47,7 +47,6 @@ add_filter( 'upload_mimes', 'check_upload_mimes' );
|
||||
add_filter( 'upload_size_limit', 'upload_size_limit_filter' );
|
||||
|
||||
// Mail
|
||||
add_filter( 'wp_mail_from', 'wordpressmu_wp_mail_from' );
|
||||
add_action( 'phpmailer_init', 'fix_phpmailer_messageid' );
|
||||
|
||||
// Disable somethings by default for multisite
|
||||
|
@ -1372,12 +1372,6 @@ function upload_is_file_too_big( $upload ) {
|
||||
return $upload;
|
||||
}
|
||||
|
||||
function wordpressmu_wp_mail_from( $email ) {
|
||||
if ( strpos( $email, 'wordpress@' ) !== false )
|
||||
$email = get_option( 'admin_email' );
|
||||
return $email;
|
||||
}
|
||||
|
||||
function signup_nonce_fields() {
|
||||
$id = mt_rand();
|
||||
echo "<input type='hidden' name='signup_form_id' value='{$id}' />";
|
||||
|
Loading…
Reference in New Issue
Block a user