From ebdf64dce2236e89bca6a084741b466ee034e415 Mon Sep 17 00:00:00 2001 From: ryan 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: http://svn.automattic.com/wordpress/trunk@2575 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 = '';