Changeset 6217
- Timestamp:
- 10/10/07 16:46:20 (1 year ago)
- Files:
-
- trunk/wp-mail.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-mail.php
r6212 r6217 63 63 // Set the author using the email address (To or Reply-To, the last used) 64 64 // otherwise use the site admin 65 if ( preg_match('/From: /', $line) | preg_match('/Reply-To: /', $line)) {66 $author = sanitize_email( $line);65 if ( preg_match('/(From|Reply-To): /', $line) ) { 66 $author = sanitize_email(preg_replace('/(From|Reply-To): /', '', $line)); 67 67 if ( is_email($author) ) { 68 68 echo "Author = {$author} <p>";
