Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/admin/includesMisc.php

    r46586 r47122  
    88        $tests = array(
    99            'wordpress\.org/about/philosophy'
    10                 => 'wordpress\.org/about/philosophy', // no longer strips slashes
     10                => 'wordpress\.org/about/philosophy',     // No longer strips slashes.
    1111            'wordpress.org/about/philosophy'
    1212                => 'wordpress.org/about/philosophy',
    1313            'http://wordpress.org/about/philosophy/'
    14                 => 'wordpress.org/about/philosophy', // remove http, trailing slash
     14                => 'wordpress.org/about/philosophy',      // Remove http, trailing slash.
    1515            'http://www.wordpress.org/about/philosophy/'
    16                 => 'wordpress.org/about/philosophy', // remove http, www
     16                => 'wordpress.org/about/philosophy',      // Remove http, www.
    1717            'http://wordpress.org/about/philosophy/#box'
    18                 => 'wordpress.org/about/philosophy/#box', // don't shorten 35 characters
     18                => 'wordpress.org/about/philosophy/#box',      // Don't shorten 35 characters.
    1919            'http://wordpress.org/about/philosophy/#decisions'
    20                 => 'wordpress.org/about/philosophy/#…', // shorten to 32 if > 35 after cleaning
     20                => 'wordpress.org/about/philosophy/#…', // Shorten to 32 if > 35 after cleaning.
    2121        );
    2222        foreach ( $tests as $k => $v ) {
Note: See TracChangeset for help on using the changeset viewer.