[wp-hackers] Incoming Links from Technorati

Kimmo Suominen kimmo+key+wordpress.c4f53f at suominen.com
Sat Aug 6 07:30:27 GMT 2005


On Fri, Aug 05, 2005 at 08:51:30PM -0400, Owen Winkler wrote:
> Lorelle VanFossen wrote:
> >We're getting a growing number of complaints by users about the Incoming 
> >Links section on the Dashboard sidebar.  
> >http://wordpress.org/support/topic/40222 is one that seems to point to 
> >some possibilties but no answers.
> 
> http://wordpress.org/support/topic/40018
> 
> Owen

It's good to have Incoming Links work again.  Thanks, Owen!

I was having some initial trouble with the parsing of the RSS failing, and
WP crashing due to trying to call an undefined error() function.  I'm not
sure if the patch below is the correct fix, or if the RSS started to work
while I was reading the code to fix it...

The second hunk patches the spot where WP was crashing in my case.

Regards,
+ Kimmo
-- 
<A HREF="http://kimmo.suominen.com/">Kimmo Suominen</A>


Index: rss-functions.php
===================================================================
--- rss-functions.php	(revision 2674)
+++ rss-functions.php	(working copy)
@@ -386,7 +386,7 @@
 			return _response_to_rss( $resp );
 		}
 		else {
-			error("Failed to fetch $url and cache is off");
+			$resp->error("Failed to fetch $url and cache is off");
 			return false;
 		}
 	} 
@@ -489,7 +489,7 @@
 		}
 		
 		// else we totally failed
-		error( $errormsg );	
+		$resp->error( $errormsg );	
 		
 		return false;
 		


More information about the wp-hackers mailing list