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-includes/rss.php

    r49927 r49929  
    404404 * @subpackage MagpieRSS
    405405 *
    406  * @param string $url URL to retrieve feed
    407  * @return false|MagpieRSS false on failure or MagpieRSS object on success.
     406 * @param string $url URL to retrieve feed.
     407 * @return MagpieRSS|false MagpieRSS object on success, false on failure.
    408408 */
    409409function fetch_rss ($url) {
Note: See TracChangeset for help on using the changeset viewer.