REST API: Fix test for unfiltered_html under multisite.
See #38726. git-svn-id: https://develop.svn.wordpress.org/trunk@39193 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
660333387e
commit
5309ebbbaa
@ -688,7 +688,7 @@ class WP_Test_REST_Tags_Controller extends WP_Test_REST_Controller_Testcase {
|
||||
'description' => '<div>div</div> <strong>strong</strong> <script>oh noes</script>',
|
||||
), array(
|
||||
'name' => 'div strong',
|
||||
'description' => 'div <strong>strong</strong>',
|
||||
'description' => 'div <strong>strong</strong> oh noes',
|
||||
) );
|
||||
} else {
|
||||
$this->assertTrue( current_user_can( 'unfiltered_html' ) );
|
||||
|
Loading…
Reference in New Issue
Block a user