Changeset 6212
- Timestamp:
- 10/09/2007 10:15:37 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-mail.php
r6125 r6212 64 64 // otherwise use the site admin 65 65 if (preg_match('/From: /', $line) | preg_match('/Reply-To: /', $line)) { 66 $author=trim($line); 67 if ( ereg("([a-zA-Z0-9\_\-\.]+@[\a-zA-z0-9\_\-\.]+)", $author , $regs) ) { 68 $author = $regs[1]; 66 $author = sanitize_email($line); 67 if ( is_email($author) ) { 69 68 echo "Author = {$author} <p>"; 70 69 $author = $wpdb->escape($author);
Note: See TracChangeset
for help on using the changeset viewer.