WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/10/2020 08:00:30 PM (16 months ago)
Author:
johnbillion
Message:

Docs: Standardise the type name for booleans and integers.

This brings these docs inline with the documentation standards.

Props ravipatel, justinahinon

Fixes #51426

File:
1 edited

Legend:

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

    r49108 r49120  
    10771077     *
    10781078     * @param string $maybe_ip A suspected IP address.
    1079      * @return integer|bool Upon success, '4' or '6' to represent a IPv4 or IPv6 address, false upon failure
     1079     * @return int|bool 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.