Changeset 60734 for trunk/tests/phpunit/tests/formatting/escUrl.php
- Timestamp:
- 09/12/2025 10:03:25 PM (11 months ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/formatting/escUrl.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/escUrl.php
r60251 r60734 91 91 92 92 /** 93 * @ticket 23605 94 * @ticket 52886 95 * 93 96 * @covers ::wp_allowed_protocols 94 97 */ … … 97 100 $this->assertSame( '', esc_url( 'nasty://example.com/' ) ); 98 101 $this->assertSame( 99 ' ',102 'https://example.com', 100 103 esc_url( 101 104 'example.com', 102 105 array( 106 'https', 107 ) 108 ) 109 ); 110 $this->assertSame( 111 'http://example.com', 112 esc_url( 113 'example.com', 114 array( 115 'http', 116 ) 117 ) 118 ); 119 $this->assertSame( 120 'https://example.com', 121 esc_url( 122 'example.com', 123 array( 124 'https', 125 'http', 126 ) 127 ) 128 ); 129 $this->assertSame( 130 'http://example.com', 131 esc_url( 132 'example.com', 133 array( 134 'http', 103 135 'https', 104 136 )
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)