WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/26/2017 11:56:25 PM (2 years 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/class-wp-rewrite.php

    r41688 r42228  
    18061806        // Enable generic rules for pages if permalink structure doesn't begin with a wildcard.
    18071807        if ( preg_match("/^[^%]*%(?:postname|category|tag|author)%/", $this->permalink_structure) )
    1808              $this->use_verbose_page_rules = true;
     1808            $this->use_verbose_page_rules = true;
    18091809        else
    18101810            $this->use_verbose_page_rules = false;
Note: See TracChangeset for help on using the changeset viewer.