diff options
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1644,7 +1644,7 @@ function renderPage() | |||
1644 | 1644 | ||
1645 | 1645 | ||
1646 | // We remove the annoying parameters added by FeedBurner, GoogleFeedProxy, Facebook... | 1646 | // We remove the annoying parameters added by FeedBurner, GoogleFeedProxy, Facebook... |
1647 | $annoyingpatterns = array('/[\?&]utm_source=[^&]*/', '/[\?&]utm_campaign=[^&]*/', '/[\?&]utm_medium=[^&]*/', '/#xtor=RSS-[^&]*/', '/[\?&]fb_[^&]*/', '/[\?&]__scoop[^&]*/', '/#tk\.rss_all\?/'); | 1647 | $annoyingpatterns = array('/[\?&]utm_source=[^&]*/', '/[\?&]utm_campaign=[^&]*/', '/[\?&]utm_medium=[^&]*/', '/#xtor=RSS-[^&]*/', '/[\?&]fb_[^&]*/', '/[\?&]__scoop[^&]*/', '/#tk\.rss_all\?/', '/[\?&]action_ref_map=[^&]*/', '/[\?&]action_type_map=[^&]*/', '/[\?&]action_object_map=[^&]*/'); |
1648 | foreach($annoyingpatterns as $pattern) | 1648 | foreach($annoyingpatterns as $pattern) |
1649 | { | 1649 | { |
1650 | $url = preg_replace($pattern, "", $url); | 1650 | $url = preg_replace($pattern, "", $url); |