Make WordPress Core


Ignore:
Timestamp:
11/05/2025 10:10:07 AM (3 months ago)
Author:
SergeyBiryukov
Message:

Docs: Synchronize WP_REST_Server::check_authentication() docs with the filter.

Follow-up to [34928], [55693].

See #63166.

File:
1 edited

Legend:

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

    r61139 r61141  
    167167     * @since 4.4.0
    168168     *
    169      * @return WP_Error|null|true WP_Error indicates unsuccessful login, null indicates successful
    170      *                            or no authentication provided.
     169     * @return WP_Error|null|true WP_Error if authentication error occurred, null if authentication
     170     *                            method wasn't used, true if authentication succeeded.
    171171     */
    172172    public function check_authentication() {
     
    192192         * @since 4.4.0
    193193         *
    194          * @param WP_Error|null|true $errors WP_Error if authentication error, null if authentication
     194         * @param WP_Error|null|true $errors WP_Error if authentication error occurred, null if authentication
    195195         *                                   method wasn't used, true if authentication succeeded.
    196196         */
Note: See TracChangeset for help on using the changeset viewer.