Make WordPress Core


Ignore:
Timestamp:
01/11/2020 06:30:58 PM (6 years ago)
Author:
SergeyBiryukov
Message:

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

Follow-up to [46696].

See #48303.

File:
1 edited

Legend:

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

    r47044 r47060  
    218218     * @param string $path Optional. The request route. If not set, `$_SERVER['PATH_INFO']` will be used.
    219219     *                     Default null.
    220      * @return false|null Null if not served and a HEAD request, false otherwise.
     220     * @return null|false Null if not served and a HEAD request, false otherwise.
    221221     */
    222222    public function serve_request( $path = null ) {
Note: See TracChangeset for help on using the changeset viewer.