diff --git a/wp-includes/rss.php b/wp-includes/rss.php index 44c9f5cc41..ac747a2d9a 100644 --- a/wp-includes/rss.php +++ b/wp-includes/rss.php @@ -11,7 +11,7 @@ do_action('load_feed_engine'); define('RSS', 'RSS'); define('ATOM', 'Atom'); -define('MAGPIE_USER_AGENT', 'WordPress/' . $wp_version); +define('MAGPIE_USER_AGENT', 'WordPress/' . $GLOBALS['wp_version']); class MagpieRSS { var $parser; @@ -595,7 +595,7 @@ function init () { } if ( !defined('MAGPIE_USER_AGENT') ) { - $ua = 'WordPress/' . $wp_version; + $ua = 'WordPress/' . $GLOBALS['wp_version']; if ( MAGPIE_CACHE_ON ) { $ua = $ua . ')';