Changeset 36440 for branches/4.0/src/wp-includes/http.php
- Timestamp:
- 02/02/2016 01:02:56 PM (9 years ago)
- Location:
- branches/4.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.0
-
branches/4.0/src/wp-includes/http.php
r30444 r36440 475 475 if ( $ip ) { 476 476 $parts = array_map( 'intval', explode( '.', $ip ) ); 477 if ( 127 === $parts[0] || 10 === $parts[0] 477 if ( 127 === $parts[0] || 10 === $parts[0] || 0 === $parts[0] 478 478 || ( 172 === $parts[0] && 16 <= $parts[1] && 31 >= $parts[1] ) 479 479 || ( 192 === $parts[0] && 168 === $parts[1] )
Note: See TracChangeset
for help on using the changeset viewer.