Make WordPress Core


Ignore:
Timestamp:
07/17/2014 09:11:46 AM (11 years ago)
Author:
DrewAPicture
Message:

Fix syntax for single- and multi-line comments in root-directory files.

See #28931.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-mail.php

    r26129 r29205  
    6969    $dmonths = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
    7070    foreach ($message as $line) {
    71         // body signal
     71        // Body signal.
    7272        if ( strlen($line) < 3 )
    7373            $bodysignal = true;
     
    109109            }
    110110
    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             */
    113115            if ( ! $author_found && preg_match( '/^(From|Reply-To): /', $line ) ) {
    114116                if ( preg_match('|[a-z0-9_.-]+@[a-z0-9_.-]+(?!.*<)|i', $line, $matches) )
     
    172174        $content = explode('--'.$boundary, $content);
    173175        $content = $content[2];
    174         // match case-insensitive content-transfer-encoding
     176
     177        // Match case-insensitive content-transfer-encoding.
    175178        if ( preg_match( '/Content-Transfer-Encoding: quoted-printable/i', $content, $delim) ) {
    176179            $content = explode($delim[0], $content);
Note: See TracChangeset for help on using the changeset viewer.