Changeset 47122 for trunk/tests/phpunit/tests/comment-submission.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment-submission.php
r46829 r47122 153 153 public function test_submitting_comment_to_scheduled_post_returns_error() { 154 154 155 // Same error as commenting on a draft 155 // Same error as commenting on a draft. 156 156 $error = 'comment_on_draft'; 157 157 … … 492 492 493 493 if ( is_multisite() ) { 494 // In multisite, only Super Admins can post unfiltered HTML 494 // In multisite, only Super Admins can post unfiltered HTML. 495 495 $this->assertFalse( user_can( self::$editor_id, 'unfiltered_html' ) ); 496 496 grant_super_admin( self::$editor_id ); … … 522 522 523 523 if ( is_multisite() ) { 524 // In multisite, only Super Admins can post unfiltered HTML 524 // In multisite, only Super Admins can post unfiltered HTML. 525 525 $this->assertFalse( user_can( self::$editor_id, 'unfiltered_html' ) ); 526 526 grant_super_admin( self::$editor_id );
Note: See TracChangeset
for help on using the changeset viewer.