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/shortcodes.php

    r41286 r42228  
    237237    // Also, see shortcode_unautop() and shortcode.js.
    238238    return
    239           '\\['                              // Opening bracket
     239        '\\['                              // Opening bracket
    240240        . '(\\[?)'                           // 1: Optional second opening bracket for escaping shortcodes: [[tag]]
    241241        . "($tagregexp)"                     // 2: Shortcode name
Note: See TracChangeset for help on using the changeset viewer.