Ticket #3996: 3996.diff
File 3996.diff, 614 bytes (added by , 18 years ago) |
---|
-
wp-includes/rss.php
11 11 12 12 define('RSS', 'RSS'); 13 13 define('ATOM', 'Atom'); 14 define('MAGPIE_USER_AGENT', 'WordPress/' . $ wp_version);14 define('MAGPIE_USER_AGENT', 'WordPress/' . $GLOBALS['wp_version']); 15 15 16 16 class MagpieRSS { 17 17 var $parser; … … 593 593 } 594 594 595 595 if ( !defined('MAGPIE_USER_AGENT') ) { 596 $ua = 'WordPress/' . $ wp_version;596 $ua = 'WordPress/' . $GLOBALS['wp_version']; 597 597 598 598 if ( MAGPIE_CACHE_ON ) { 599 599 $ua = $ua . ')';