Description: HTTP: 0.1.2.3 is not valid IP
 Check for IP address starting with 0.
Author: ocean90@wordpress.org
Origin: upstream, https://core.trac.wordpress.org/changeset/36435
Bug-Debian: https://bugs.debian.org/813697
Applied-Upstream: 4.4.2
Reviewed-by: Craig Small <csmall@debian.org>
Last-Update: 2016-02-06
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/wp-includes/http.php
+++ b/wp-includes/http.php
@@ -453,7 +453,7 @@
 		}
 		if ( $ip ) {
 			$parts = array_map( 'intval', explode( '.', $ip ) );
-			if ( 127 === $parts[0] || 10 === $parts[0]
+			if ( 127 === $parts[0] || 10 === $parts[0] || 0 === $parts[0]
 				|| ( 172 === $parts[0] && 16 <= $parts[1] && 31 >= $parts[1] )
 				|| ( 192 === $parts[0] && 168 === $parts[1] )
 			) {
