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:
Ryan Boren 2010-10-01 18:32:47 +00:00
parent 0cfb13ac25
commit 4c2c9bc17d
2 changed files with 0 additions and 7 deletions

View File

@ -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

View File

@ -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}' />";