diff --git a/wp-includes/comment-functions.php b/wp-includes/comment-functions.php index 011f02e4ad..adaed8ac02 100644 --- a/wp-includes/comment-functions.php +++ b/wp-includes/comment-functions.php @@ -480,6 +480,7 @@ function pingback($content, $post_ID) { } function discover_pingback_server_uri($url, $timeout_bytes = 2048) { + global $wp_version; $byte_count = 0; $contents = '';