WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/11/2020 06:30:58 PM (13 months 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/functions.php

    r47018 r47060  
    12201220 *
    12211221 * @param string $uri URI/URL of web page to retrieve.
    1222  * @return false|string HTTP content. False on failure.
     1222 * @return string|false HTTP content. False on failure.
    12231223 */
    12241224function wp_remote_fopen( $uri ) {
     
    18591859 * @since 2.0.4
    18601860 *
    1861  * @return false|string False on failure. Referer URL on success.
     1861 * @return string|false Referer URL on success, false on failure.
    18621862 */
    18631863function wp_get_referer() {
Note: See TracChangeset for help on using the changeset viewer.