Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

git-svn-id: https://develop.svn.wordpress.org/trunk@47122 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-01-29 00:43:23 +00:00
parent bd2cd572aa
commit cfc3b57488
810 changed files with 9893 additions and 8384 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ class Tests_XMLRPC_wp_getComment extends WP_XMLRPC_UnitTestCase {
$result = $this->myxmlrpcserver->wp_getComment( array( 1, 'editor', 'editor', self::$parent_comment_id ) );
$this->assertNotIXRError( $result );
// Check data types
// Check data types.
$this->assertInternalType( 'string', $result['user_id'] );
$this->assertInternalType( 'string', $result['comment_id'] );
$this->assertInstanceOf( 'IXR_Date', $result['date_created_gmt'] );
@@ -69,7 +69,7 @@ class Tests_XMLRPC_wp_getComment extends WP_XMLRPC_UnitTestCase {
$this->assertInternalType( 'string', $result['author_ip'] );
$this->assertInternalType( 'string', $result['type'] );
// Check expected values
// Check expected values.
$this->assertStringMatchesFormat( '%d', $result['user_id'] );
$this->assertStringMatchesFormat( '%d', $result['comment_id'] );
$this->assertStringMatchesFormat( '%d', $result['parent'] );