[wp-trac] Re: [WordPress Trac] #3996: MAGPIE_USER_AGENT lack of wp version

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 19 19:16:13 GMT 2007


#3996: MAGPIE_USER_AGENT lack of wp version
-------------------------------------------+--------------------------------
 Reporter:  hakre                          |        Owner:  anonymous
     Type:  enhancement                    |       Status:  reopened 
 Priority:  normal                         |    Milestone:  2.2.2    
Component:  Template                       |      Version:  2.1.2    
 Severity:  normal                         |   Resolution:           
 Keywords:  rss magpie snoopy needs-patch  |  
-------------------------------------------+--------------------------------
Comment (by Otto42):

 If he's correct, then using {{{$GLOBALS['wp_version'];}}} in both spots
 should work. version.php is definitely loaded before the widgets are, so
 the global $wp_version should be defined. From what westi says, it's
 mostly just a matter of rss.php being loaded outside of the global scope.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3996#comment:9>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list