Changeset 5961

Show
Ignore:
Timestamp:
08/28/07 20:21:39 (1 year ago)
Author:
westi
Message:

Globalise wp_version so Magpie can use it. props Nazgul, hakre. Fixes #3996 for 2.2.3

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.2/wp-includes/rss.php

    r4997 r5961  
    1010define('RSS', 'RSS'); 
    1111define('ATOM', 'Atom'); 
    12 define('MAGPIE_USER_AGENT', 'WordPress/' . $wp_version); 
     12define('MAGPIE_USER_AGENT', 'WordPress/' . $GLOBALS['wp_version']); 
    1313 
    1414class MagpieRSS { 
     
    592592 
    593593    if ( !defined('MAGPIE_USER_AGENT') ) { 
    594         $ua = 'WordPress/' . $wp_version
     594        $ua = 'WordPress/' . $GLOBALS['wp_version']
    595595 
    596596        if ( MAGPIE_CACHE_ON ) {