WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/26/2017 11:56:25 PM (20 months ago)
Author:
pento
Message:

General: Fix some precision alignment formatting warnings.

The WPCS WordPress.WhiteSpace.PrecisionAlignment rule throws warnings for a bunch of code that will likely cause issues for wpcbf. Fixing these manually beforehand gives us better auto-fixed results later.

See #41057.

File:
1 edited

Legend:

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

    r42201 r42228  
    12101210
    12111211        $pattern = "#$word#i";
    1212         if (
    1213                preg_match($pattern, $author)
     1212        if ( preg_match($pattern, $author)
    12141213            || preg_match($pattern, $email)
    12151214            || preg_match($pattern, $url)
     
    12181217            || preg_match($pattern, $user_ip)
    12191218            || preg_match($pattern, $user_agent)
    1220          )
     1219        )
    12211220            return true;
    12221221    }
Note: See TracChangeset for help on using the changeset viewer.