Make WordPress Core


Ignore:
Timestamp:
01/03/2021 10:02:13 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Promote many bool types to true or false where only that value is used.

See #51800

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-xmlrpc-server.php

    r49862 r49927  
    229229     * @param string $username User's username.
    230230     * @param string $password User's password.
    231      * @return WP_User|bool WP_User object if authentication passed, false otherwise
     231     * @return WP_User|false WP_User object if authentication passed, false otherwise
    232232     */
    233233    public function login( $username, $password ) {
     
    22322232     *     @type int    $term_id      Term ID.
    22332233     * }
    2234      * @return bool|IXR_Error True on success, IXR_Error instance on failure.
     2234     * @return true|IXR_Error True on success, IXR_Error instance on failure.
    22352235     */
    22362236    public function wp_deleteTerm( $args ) {
     
    56545654     *     @type int    $publish
    56555655     * }
    5656      * @return bool|IXR_Error True on success.
     5656     * @return true|IXR_Error True on success.
    56575657     */
    56585658    public function mw_editPost( $args ) {
Note: See TracChangeset for help on using the changeset viewer.