WordPress.org

Make WordPress Core

Changeset 5961


Ignore:
Timestamp:
08/28/07 20:21:39 (7 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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 ) { 
Note: See TracChangeset for help on using the changeset viewer.