Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/comment-submission.php

    r46829 r47122  
    153153    public function test_submitting_comment_to_scheduled_post_returns_error() {
    154154
    155         // Same error as commenting on a draft
     155        // Same error as commenting on a draft.
    156156        $error = 'comment_on_draft';
    157157
     
    492492
    493493        if ( is_multisite() ) {
    494             // In multisite, only Super Admins can post unfiltered HTML
     494            // In multisite, only Super Admins can post unfiltered HTML.
    495495            $this->assertFalse( user_can( self::$editor_id, 'unfiltered_html' ) );
    496496            grant_super_admin( self::$editor_id );
     
    522522
    523523        if ( is_multisite() ) {
    524             // In multisite, only Super Admins can post unfiltered HTML
     524            // In multisite, only Super Admins can post unfiltered HTML.
    525525            $this->assertFalse( user_can( self::$editor_id, 'unfiltered_html' ) );
    526526            grant_super_admin( self::$editor_id );
Note: See TracChangeset for help on using the changeset viewer.