Changeset 5396

Show
Ignore:
Timestamp:
05/05/07 02:51:20 (1 year ago)
Author:
rob1n
Message:

Add in missing delimiter. fixes #4226 for 2.0, 2.2 and 2.3

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.0/wp-mail.php

    r3475 r5396  
    5959            // Set the author using the email address (To or Reply-To, the last used) 
    6060            // otherwise use the site admin 
    61             if (preg_match('/From: /', $line) | preg_match('Reply-To: /', $line))  { 
     61            if (preg_match('/From: /', $line) | preg_match('/Reply-To: /', $line))  { 
    6262                $author=trim($line); 
    6363            if ( ereg("([a-zA-Z0-9\_\-\.]+@[\a-zA-z0-9\_\-\.]+)", $author , $regs) ) { 
  • branches/2.2/wp-mail.php

    r5188 r5396  
    6363            // Set the author using the email address (To or Reply-To, the last used) 
    6464            // otherwise use the site admin 
    65             if (preg_match('/From: /', $line) | preg_match('Reply-To: /', $line))  { 
     65            if (preg_match('/From: /', $line) | preg_match('/Reply-To: /', $line))  { 
    6666                $author=trim($line); 
    6767            if ( ereg("([a-zA-Z0-9\_\-\.]+@[\a-zA-z0-9\_\-\.]+)", $author , $regs) ) { 
  • trunk/wp-mail.php

    r5188 r5396  
    6363            // Set the author using the email address (To or Reply-To, the last used) 
    6464            // otherwise use the site admin 
    65             if (preg_match('/From: /', $line) | preg_match('Reply-To: /', $line))  { 
     65            if (preg_match('/From: /', $line) | preg_match('/Reply-To: /', $line))  { 
    6666                $author=trim($line); 
    6767            if ( ereg("([a-zA-Z0-9\_\-\.]+@[\a-zA-z0-9\_\-\.]+)", $author , $regs) ) {