From 41b7c1ba73605cb57b347c86820e6a904d2564ea Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 26 Apr 2005 05:51:25 +0000 Subject: [PATCH] Fix WP version in pingbacks. http://mosquito.wordpress.org/view.php?id=1285 Props: error git-svn-id: https://develop.svn.wordpress.org/trunk@2575 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/comment-functions.php | 1 + 1 file changed, 1 insertion(+) 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 = '';