WordPress.org

Make WordPress Core

Changes between Version 6 and Version 7 of Ticket #43545, comment 8


Ignore:
Timestamp:
03/21/2018 04:42:08 PM (16 months ago)
Author:
birgire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43545, comment 8

    v6 v7  
    3535 */
    3636function _wp_privacy_anonymize_ip( $ip ) {
    37        
     37        $ip_prefix = '';
     38        $netmask   = false;
     39
    3840        // Detect what kind of IP address this is.
    3941        $is_ipv6 = substr_count( $ip, ':' ) > 1;