WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #34538, comment 5


Ignore:
Timestamp:
11/02/2015 01:19:08 AM (4 years ago)
Author:
ka2
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34538, comment 5

    initial v1  
    22
    33As you say, I also think that there is no benefit to the existing HTTP request processing even if the verification of the IP address by my patch was stricter.
    4 However, I think that this function is useable from a place other than the core, as for example plugins. Also I think that it will become very user-friendly feature if "WP_Http::is_ip_address()" will be able to strictly the IP validation.
     4However, I think that this function is useable from a place other than the core, as for example plugins. Also I think that it will become very user-friendly feature if {{{WP_Http::is_ip_address()}}} will be able to strictly the IP validation.
    55
    66As another approach, I thought that divides the verification processing by adding a toggle of strict verification to the second argument of the function. But it just would simply become a redundant function.