Ticket #44210: 44210.diff
File 44210.diff, 459 bytes (added by , 7 years ago) |
---|
-
src/wp-includes/http.php
diff --git src/wp-includes/http.php src/wp-includes/http.php index 2b153aa136..bd1afbbc2b 100644
function wp_http_validate_url( $url ) { 596 596 return $url; 597 597 } 598 598 599 /** 600 * Filter to allow for valid URLs from local servers. 601 * 602 * @since 4.9.x 603 * 604 * @return bool 605 */ 606 if ( apply_filters( 'http_request_host_is_local', false ) ) { 607 return $url; 608 } 609 599 610 return false; 600 611 } 601 612