Changeset 36436 for branches/4.4
- Timestamp:
- 02/02/2016 01:02:44 PM (9 years ago)
- Location:
- branches/4.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4
-
branches/4.4/src/wp-includes/http.php
r35718 r36436 537 537 if ( $ip ) { 538 538 $parts = array_map( 'intval', explode( '.', $ip ) ); 539 if ( 127 === $parts[0] || 10 === $parts[0] 539 if ( 127 === $parts[0] || 10 === $parts[0] || 0 === $parts[0] 540 540 || ( 172 === $parts[0] && 16 <= $parts[1] && 31 >= $parts[1] ) 541 541 || ( 192 === $parts[0] && 168 === $parts[1] )
Note: See TracChangeset
for help on using the changeset viewer.