Changeset 55827 for trunk/src/wp-includes/class-wp-http.php
- Timestamp:
- 05/19/2023 01:25:49 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-http.php
r55370 r55827 1081 1081 * 1082 1082 * This function also detects the type of the IP address, returning either 1083 * '4' or '6' to represent a IPv4 and IPv6 address respectively.1083 * '4' or '6' to represent an IPv4 and IPv6 address respectively. 1084 1084 * This does not verify if the IP is a valid IP, only that it appears to be 1085 1085 * an IP address. … … 1090 1090 * 1091 1091 * @param string $maybe_ip A suspected IP address. 1092 * @return int|false Upon success, '4' or '6' to represent a IPv4 or IPv6 address, false upon failure1092 * @return int|false Upon success, '4' or '6' to represent an IPv4 or IPv6 address, false upon failure. 1093 1093 */ 1094 1094 public static function is_ip_address( $maybe_ip ) {
Note: See TracChangeset
for help on using the changeset viewer.