[wp-trac] [WordPress Trac] #5106: MagpieRSS rss.php debug function is called out of scope

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 29 23:34:44 GMT 2007


#5106: MagpieRSS rss.php debug function is called out of scope
-------------------------+--------------------------------------------------
 Reporter:  foolswisdom  |       Owner:  anonymous
     Type:  defect       |      Status:  new      
 Priority:  low          |   Milestone:  2.5      
Component:  General      |     Version:  2.3      
 Severity:  minor        |    Keywords:           
-------------------------+--------------------------------------------------
 MagpieRSS rss.php debug function is called out of scope

 ENV: WordPress 2.3 +r6177

 Repro: Always [[br]]
 1. At ~ line 870 of rss.php set MAGPIE_DEBUG 2
 2. Add a sidebar feed widget

 ACTUAL RESULT [[br]]
 Fatal error: Call to undefined function debug() in /var/www/wp/trunk/wp-
 includes/rss.php on line 466

 EXPECTED RESULT [[br]]
 Debug output.

 ADDITIONAL DETAILS [[br]]
 Function debug is part of RSSCache, and should be invoked as such. Though
 not sure where it and some other functions aren't static.

 Not that it is likely that that RSSCache needs debugging, but I was lazy
 and was just going to use it in that file when I was investigating a
 different problem.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5106>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list