Ticket #14586: 14586.diff
File 14586.diff, 1013 bytes (added by , 15 years ago) |
---|
-
wp-includes/ms-default-filters.php
47 47 add_filter( 'upload_size_limit', 'upload_size_limit_filter' ); 48 48 49 49 // Mail 50 add_filter( 'wp_mail_from', 'wordpressmu_wp_mail_from' );51 50 add_action( 'phpmailer_init', 'fix_phpmailer_messageid' ); 52 51 53 52 // Disable somethings by default for multisite -
wp-includes/ms-functions.php
1245 1245 return $upload; 1246 1246 } 1247 1247 1248 function wordpressmu_wp_mail_from( $email ) {1249 if ( strpos( $email, 'wordpress@' ) !== false )1250 $email = get_option( 'admin_email' );1251 return $email;1252 }1253 1254 1248 function signup_nonce_fields() { 1255 1249 $id = mt_rand(); 1256 1250 echo "<input type='hidden' name='signup_form_id' value='{$id}' />";