mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Add test for each whitelisted URI protocol in wp_allowed_protocols().
Move test from [25301] to the new file. Fixes #38198. git-svn-id: https://develop.svn.wordpress.org/trunk@38685 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -501,13 +501,6 @@ class Tests_Functions extends WP_UnitTestCase {
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 19354
|
||||
*/
|
||||
function test_data_is_not_an_allowed_protocol() {
|
||||
$this->assertNotContains( 'data', wp_allowed_protocols() );
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 9064
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user