Changeset 29205 for trunk/src/wp-mail.php
- Timestamp:
- 07/17/2014 09:11:46 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-mail.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-mail.php
r26129 r29205 69 69 $dmonths = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'); 70 70 foreach ($message as $line) { 71 // body signal71 // Body signal. 72 72 if ( strlen($line) < 3 ) 73 73 $bodysignal = true; … … 109 109 } 110 110 111 // Set the author using the email address (From or Reply-To, the last used) 112 // otherwise use the site admin 111 /* 112 * Set the author using the email address (From or Reply-To, the last used) 113 * otherwise use the site admin. 114 */ 113 115 if ( ! $author_found && preg_match( '/^(From|Reply-To): /', $line ) ) { 114 116 if ( preg_match('|[a-z0-9_.-]+@[a-z0-9_.-]+(?!.*<)|i', $line, $matches) ) … … 172 174 $content = explode('--'.$boundary, $content); 173 175 $content = $content[2]; 174 // match case-insensitive content-transfer-encoding 176 177 // Match case-insensitive content-transfer-encoding. 175 178 if ( preg_match( '/Content-Transfer-Encoding: quoted-printable/i', $content, $delim) ) { 176 179 $content = explode($delim[0], $content);
Note: See TracChangeset
for help on using the changeset viewer.