mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +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:
@@ -29,7 +29,7 @@ class Tests_XMLRPC_Basic extends WP_XMLRPC_UnitTestCase {
|
||||
$this->assertFalse( $this->myxmlrpcserver->login_pass_ok( 'username', 'password' ) );
|
||||
$this->assertFalse( $this->myxmlrpcserver->login( 'username', 'password' ) );
|
||||
|
||||
// The auth will still fail due to authentication blocking after the first failed attempt
|
||||
// The auth will still fail due to authentication blocking after the first failed attempt.
|
||||
$this->assertFalse( $this->myxmlrpcserver->login_pass_ok( 'subscriber', 'subscriber' ) );
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ class Tests_XMLRPC_Basic extends WP_XMLRPC_UnitTestCase {
|
||||
);
|
||||
|
||||
$method_calls = array(
|
||||
// Valid login
|
||||
// Valid login.
|
||||
array(
|
||||
'methodName' => 'wp.editPost',
|
||||
'params' => array(
|
||||
@@ -58,7 +58,7 @@ class Tests_XMLRPC_Basic extends WP_XMLRPC_UnitTestCase {
|
||||
),
|
||||
),
|
||||
),
|
||||
// *Invalid* login
|
||||
// *Invalid* login.
|
||||
array(
|
||||
'methodName' => 'wp.editPost',
|
||||
'params' => array(
|
||||
@@ -71,7 +71,7 @@ class Tests_XMLRPC_Basic extends WP_XMLRPC_UnitTestCase {
|
||||
),
|
||||
),
|
||||
),
|
||||
// Valid login
|
||||
// Valid login.
|
||||
array(
|
||||
'methodName' => 'wp.editPost',
|
||||
'params' => array(
|
||||
|
||||
Reference in New Issue
Block a user