WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/16/2015 08:00:15 PM (6 years ago)
Author:
wonderboymusic
Message:

if is a statment, not a function.

See #32444.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pluggable.php

    r32793 r32800  
    410410            // Break $recipient into name and address parts if in the format "Foo <bar@baz.com>"
    411411            $recipient_name = '';
    412             if( preg_match( '/(.*)<(.+)>/', $recipient, $matches ) ) {
     412            if ( preg_match( '/(.*)<(.+)>/', $recipient, $matches ) ) {
    413413                if ( count( $matches ) == 3 ) {
    414414                    $recipient_name = $matches[1];
     
    432432                // Break $recipient into name and address parts if in the format "Foo <bar@baz.com>"
    433433                $recipient_name = '';
    434                 if( preg_match( '/(.*)<(.+)>/', $recipient, $matches ) ) {
     434                if ( preg_match( '/(.*)<(.+)>/', $recipient, $matches ) ) {
    435435                    if ( count( $matches ) == 3 ) {
    436436                        $recipient_name = $matches[1];
     
    450450                // Break $recipient into name and address parts if in the format "Foo <bar@baz.com>"
    451451                $recipient_name = '';
    452                 if( preg_match( '/(.*)<(.+)>/', $recipient, $matches ) ) {
     452                if ( preg_match( '/(.*)<(.+)>/', $recipient, $matches ) ) {
    453453                    if ( count( $matches ) == 3 ) {
    454454                        $recipient_name = $matches[1];
     
    12741274    /**
    12751275     * Filter the redirect fallback URL for when the provided redirect is not safe (local).
    1276      * 
     1276     *
    12771277     * @since 4.3.0
    1278      * 
     1278     *
    12791279     * @param string $fallback_url  The fallback URL to use by default.
    12801280     * @param int    $status        The redirect status.
Note: See TracChangeset for help on using the changeset viewer.