Fetch_feed Not Working With URLs Containing & Symbol

| Created: November 30th, 2011
WordPress Development 6 Comments

I recently came across a strange problem with the fetch_feed function in WordPress not working with URLs containing the & symbol. The URL was being passed to fetch_feed via a shortcode parameter, but fetch_feed couldn’t find the feed.
Continue reading

Clearing The Cache When A Widget Is Saved

| Created: November 30th, 2011
WordPress Development 6 Comments

WP Super Cache has a setting which allows the cache to be cleared when a post is saved. I needed to clear the cache when a widget is saved. It turned out to be surprisingly easy.
Continue reading