Ticket #25840: 25840.1.diff
| File 25840.1.diff, 909 bytes (added by , 13 years ago) |
|---|
-
wp-includes/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);529 528 530 if ( false !== strpos(WP_ACCESSIBLE_HOSTS, '*') ) { 529 /** 530 * Filter the list of accessible hosts. 531 * 532 * @since 3.8 533 * 534 * @param array List of accessible hosts 535 */ 536 $accessible_hosts = apply_filters( 'wp_http_accessible_hosts', preg_split( '|,\s*|', WP_ACCESSIBLE_HOSTS ) ); 537 538 if ( false !== strpos( WP_ACCESSIBLE_HOSTS, '*' ) ) { 531 539 $wildcard_regex = array(); 532 540 foreach ( $accessible_hosts as $host ) 533 541 $wildcard_regex[] = str_replace( '\*', '.+', preg_quote( $host, '/' ) );
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)