Ticket #25840: 25840.diff
File 25840.diff, 686 bytes (added by , 11 years ago) |
---|
-
class-http.php
525 525 static $accessible_hosts; 526 526 static $wildcard_regex = false; 527 527 if ( null == $accessible_hosts ) { 528 $accessible_hosts = preg_split('|,\s*|', WP_ACCESSIBLE_HOSTS); 528 /** 529 * Filter the list of accessible hosts. 530 * 531 * @since 3.8 532 * 533 * @param array List of accessible hosts 534 */ 535 $accessible_hosts = apply_filters( 'wp_accessible_hosts', preg_split( '|,\s*|', WP_ACCESSIBLE_HOSTS ) ); 529 536 530 537 if ( false !== strpos(WP_ACCESSIBLE_HOSTS, '*') ) { 531 538 $wildcard_regex = array();