Make WordPress Core


Ignore:
Timestamp:
01/03/2021 10:02:13 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Promote many bool types to true or false where only that value is used.

See #51800

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-http.php

    r49120 r49927  
    10771077     *
    10781078     * @param string $maybe_ip A suspected IP address.
    1079      * @return int|bool Upon success, '4' or '6' to represent a IPv4 or IPv6 address, false upon failure
     1079     * @return int|false Upon success, '4' or '6' to represent a IPv4 or IPv6 address, false upon failure
    10801080     */
    10811081    public static function is_ip_address( $maybe_ip ) {
Note: See TracChangeset for help on using the changeset viewer.