A free, self-hostable news aggregator…
SimplePie forgot static keyword
Alexandre Alapetite2bfc4dbf8b19
diff --git a/lib/SimplePie/SimplePie/Misc.php b/lib/SimplePie/SimplePie/Misc.phpindex 91549f93a..956a284cb 100644--- a/lib/SimplePie/SimplePie/Misc.php+++ b/lib/SimplePie/SimplePie/Misc.php@@ -2246,7 +2246,7 @@ function embed_wmedia(width, height, link) {* @param $url the URL to sanitize.* @return the same URL without HTTP credentials.*/- function url_remove_credentials($url) //FreshRSS+ public static function url_remove_credentials($url) //FreshRSS{return preg_replace('#^(https?://)[^/:@]+:[^/:@]+@#i', '$1', $url);}