mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
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:
@@ -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'] );
|
||||
|
||||
Reference in New Issue
Block a user