Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/18/2025 01:03:20 AM (6 months ago)
Author:
johnjamesjacoby
Message:

Tools - Code Improvement: stop ignoring Universal.WhiteSpace.PrecisionAlignment.Found sniff.

This change removes any precision alignment that used spaces instead of tabs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/common/formatting.php

    r7368 r7373  
    313313
    314314    // Bail on links that match the current domain
    315     if ( preg_match( '%href=["\'](' . preg_quote( set_url_scheme( $home_url, 'http'  ) ) . ')%i', $text ) ||
    316          preg_match( '%href=["\'](' . preg_quote( set_url_scheme( $home_url, 'https' ) ) . ')%i', $text )
     315    if (
     316        preg_match( '%href=["\'](' . preg_quote( set_url_scheme( $home_url, 'http'  ) ) . ')%i', $text )
     317        ||
     318        preg_match( '%href=["\'](' . preg_quote( set_url_scheme( $home_url, 'https' ) ) . ')%i', $text )
    317319    ) {
    318320        return "<a {$text}>";
Note: See TracChangeset for help on using the changeset viewer.