pkhamre/wp-varnish — pull request #28 by linickx (2012-06-21 13:02:35+00:00)
Title: purge fix cache for if WordPress has it's own directory.

get_option('siteurl') gives the wrong url if [WordPress has its own
Directory](http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
)

I noticed that the cache is not being purged for sites where `get_bloginfo('url')` and `site_url()` (`get_option('siteurl')`) are different.

rgds,
Nick