Changeset 47122 for trunk/tests/phpunit/tests/admin/includesMisc.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/admin/includesMisc.php
r46586 r47122 8 8 $tests = array( 9 9 'wordpress\.org/about/philosophy' 10 => 'wordpress\.org/about/philosophy', // no longer strips slashes10 => 'wordpress\.org/about/philosophy', // No longer strips slashes. 11 11 'wordpress.org/about/philosophy' 12 12 => 'wordpress.org/about/philosophy', 13 13 'http://wordpress.org/about/philosophy/' 14 => 'wordpress.org/about/philosophy', // remove http, trailing slash14 => 'wordpress.org/about/philosophy', // Remove http, trailing slash. 15 15 'http://www.wordpress.org/about/philosophy/' 16 => 'wordpress.org/about/philosophy', // remove http, www16 => 'wordpress.org/about/philosophy', // Remove http, www. 17 17 'http://wordpress.org/about/philosophy/#box' 18 => 'wordpress.org/about/philosophy/#box', // don't shorten 35 characters18 => 'wordpress.org/about/philosophy/#box', // Don't shorten 35 characters. 19 19 'http://wordpress.org/about/philosophy/#decisions' 20 => 'wordpress.org/about/philosophy/#…', // shorten to 32 if > 35 after cleaning20 => 'wordpress.org/about/philosophy/#…', // Shorten to 32 if > 35 after cleaning. 21 21 ); 22 22 foreach ( $tests as $k => $v ) {
Note: See TracChangeset
for help on using the changeset viewer.