Make WordPress Core


Ignore:
Timestamp:
01/04/2021 05:16:43 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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

Follow-up to [46696], [47060], [49926], [49927].

See #51800.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-community-events.php

    r49927 r49929  
    307307     *
    308308     * @param array $location Should contain 'latitude' and 'longitude' indexes.
    309      * @return false|string false on failure, or a string on success.
     309     * @return string|false Transient key on success, false on failure.
    310310     */
    311311    protected function get_events_transient_key( $location ) {
Note: See TracChangeset for help on using the changeset viewer.