mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-05 05:04:31 +00:00
Docs: Promote many bool types to true or false where only that value is used.
See #51800 git-svn-id: https://develop.svn.wordpress.org/trunk@49927 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -228,7 +228,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
*
|
||||
* @param string $username User's username.
|
||||
* @param string $password User's password.
|
||||
* @return WP_User|bool WP_User object if authentication passed, false otherwise
|
||||
* @return WP_User|false WP_User object if authentication passed, false otherwise
|
||||
*/
|
||||
public function login( $username, $password ) {
|
||||
/*
|
||||
@@ -2231,7 +2231,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
* @type string $taxnomy_name Taxonomy name.
|
||||
* @type int $term_id Term ID.
|
||||
* }
|
||||
* @return bool|IXR_Error True on success, IXR_Error instance on failure.
|
||||
* @return true|IXR_Error True on success, IXR_Error instance on failure.
|
||||
*/
|
||||
public function wp_deleteTerm( $args ) {
|
||||
if ( ! $this->minimum_args( $args, 5 ) ) {
|
||||
@@ -5653,7 +5653,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
* @type array $content_struct
|
||||
* @type int $publish
|
||||
* }
|
||||
* @return bool|IXR_Error True on success.
|
||||
* @return true|IXR_Error True on success.
|
||||
*/
|
||||
public function mw_editPost( $args ) {
|
||||
$this->escape( $args );
|
||||
|
||||
Reference in New Issue
Block a user