Make WordPress Core


Ignore:
Timestamp:
11/11/2019 02:41:15 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: In various @return tags, list the expected type first, instead of WP_Error.

See #48303.

File:
1 edited

Legend:

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

    r46685 r46696  
    130130         * @since 4.4.0
    131131         *
    132          * @param WP_Error|null|bool WP_Error if authentication error, null if authentication
     132         * @param WP_Error|null|true WP_Error if authentication error, null if authentication
    133133         *                              method wasn't used, true if authentication succeeded.
    134134         */
Note: See TracChangeset for help on using the changeset viewer.