Changeset 47557 for trunk/src/wp-includes/class-wp-http-cookie.php
- Timestamp:
- 04/09/2020 03:41:04 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-http-cookie.php
r45748 r47557 193 193 194 194 // Port - supports "port-lists" in the format: "80,8000,8080". 195 if ( ! empty( $port ) && ! in_array( $url['port'], explode( ',', $port )) ) {195 if ( ! empty( $port ) && ! in_array( $url['port'], array_map( 'intval', explode( ',', $port ) ), true ) ) { 196 196 return false; 197 197 }
Note: See TracChangeset
for help on using the changeset viewer.