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