Make WordPress Core

Changeset 38685


Ignore:
Timestamp:
09/30/2016 01:12:00 PM (9 years ago)
Author:
ocean90
Message:

Add test for each whitelisted URI protocol in wp_allowed_protocols().

Move test from [25301] to the new file.

Fixes #38198.

Location:
trunk/tests/phpunit/tests
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/functions.php

    r38016 r38685  
    500500            ),
    501501        );
    502     }
    503 
    504     /**
    505      * @ticket 19354
    506      */
    507     function test_data_is_not_an_allowed_protocol() {
    508         $this->assertNotContains( 'data', wp_allowed_protocols() );
    509502    }
    510503
Note: See TracChangeset for help on using the changeset viewer.