WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (2 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/post/formats.php

    r46586 r47122  
    8888        $this->assertFalse( has_post_format( 'standard', $post_id ) );
    8989
    90         // Dummy format type
     90        // Dummy format type.
    9191        $this->assertFalse( has_post_format( 'dummy', $post_id ) );
    9292
    93         // Dummy post id
     93        // Dummy post ID.
    9494        $this->assertFalse( has_post_format( 'aside', 12345 ) );
    9595    }
     
    134134        $this->assertEquals( false, $content_link );
    135135
    136         // Now with an href
     136        // Now with an href.
    137137        $href_post_id = self::factory()->post->create( array( 'post_content' => $href ) );
    138138        $content_link = get_url_in_content( get_post_field( 'post_content', $href_post_id ) );
Note: See TracChangeset for help on using the changeset viewer.