saulcozens/wordpress-gov.uk — pull request #2 by simonwheatley (2012-02-08 19:07:41+00:00)
Title: WP HTTP API and slashes

Hi Saul & Simon,

After some fun with a cURL bug (related to how WP handles cURL) I've converted the HTTP Request kit to use the WordPress HTTP API. Also some tweaks to how slashes. Hope it works for you and you find it useful. :)

Cheers,

Simon

Now copes with:
* [govuk url="student-finance-calculator"]
* [govuk url="/student-finance-calculator/"]
* [govuk url="https://www.gov.uk/student-finance-calculator"]

Also now using the WordPress HTTP API, e.g. `wp_remote_request`, which
provides HTTP via a variety of transport mechanisms (e.g. if cURL isn't
present, it falls back to other mechanisms).