diff options
Diffstat (limited to 'wp-includes/rss.php')
-rw-r--r-- | wp-includes/rss.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-includes/rss.php b/wp-includes/rss.php index 44005a7..72b7bb1 100644 --- a/wp-includes/rss.php +++ b/wp-includes/rss.php @@ -9,7 +9,7 @@ define('RSS', 'RSS'); define('ATOM', 'Atom'); -define('MAGPIE_USER_AGENT', 'WordPressMU/' . $wp_version); +define('MAGPIE_USER_AGENT', 'WordPressMU/' . $GLOBALS['wp_version']); class MagpieRSS { var $parser; @@ -591,7 +591,7 @@ function init () { } if ( !defined('MAGPIE_USER_AGENT') ) { - $ua = 'WordPress/' . $wp_version; + $ua = 'WordPress/' . $GLOBALS['wp_version']; if ( MAGPIE_CACHE_ON ) { $ua = $ua . ')'; |