Ticket #31384: 31384.diff
| File 31384.diff, 537 bytes (added by , 10 years ago) |
|---|
-
src/wp-includes/comment.php
diff --git src/wp-includes/comment.php src/wp-includes/comment.php index f579e95..4a4299f 100644
function discover_pingback_server_uri( $url, $deprecated = '' ) { 2202 2202 $pingback_str_squote = 'rel=\'pingback\''; 2203 2203 2204 2204 /** @todo Should use Filter Extension or custom preg_match instead. */ 2205 $parsed_url = parse_url($url);2205 $parsed_url = wp_parse_url($url); 2206 2206 2207 2207 if ( ! isset( $parsed_url['host'] ) ) // Not a URL. This should never happen. 2208 2208 return false;