Skip to content

Releases: WebDevStudios/WDS-WP-REST-API-Connect

v0.2.6

08 Mar 17:35

Choose a tag to compare

  • Remove Ryan McCue's Requests library from composer since it now exists in WP core.

v0.2.5

17 Mar 17:35

Choose a tag to compare

  • Fix a typo from a variable which should be using an object property (for legacy mode).

v0.2.4

17 Mar 00:37

Choose a tag to compare

  • Fix broken logic in Connect::auth_request() where $response variable might not get properly set.

v0.2.3

20 Feb 21:43

Choose a tag to compare

  • Update example.php
  • Make requests more consistent, and pass parameters through appropriate filters.
  • Fixed a few missed exception handlers.

v0.2.2

16 Feb 04:47

Choose a tag to compare

  • Add set_headers method to be able to set headers for discovery.
  • Use our own API Discovery library to use the WP http API, and to correctly pass any headers if they exist.

v0.2.1

15 Feb 20:06

Choose a tag to compare

  • Bug fix: Fix the order of checks in the reset_connection method to ensure the delete_stored_error method is always called.

v0.2.0

15 Feb 18:56

Choose a tag to compare

v0.1.4

20 Nov 20:37

Choose a tag to compare

  • Add utility methods for dealing with errors.
  • Convert post body to a query string before wp_remote_request does because http_build_query drops empty values and oauth signatures end up not matching.

v0.1.3

20 Nov 20:37

Choose a tag to compare

  • Fix some docs, and "clever" code, and fix an incorrect variable name.
  • Add class_exists check so we don't break sites w/ multiple instantiations.
  • Store response code as object property.
  • Account for WP_Error from responses before creating response code.
  • Accept a headers array, and pass those headers to all requests.
  • Option/transient key should be a hash of all the args, not just the url.
  • Do not cache api description if request is a failure (or being requested not to).
  • Make headers and key/option_key accessible as read-only properties.
  • Change from JSON to REST to match WordPress core plugin.
  • Move error option to its own method.

v0.1.2

20 Nov 20:37

Choose a tag to compare

  • Better checks for failed requests.
  • Set the http method for each call so that the OAuth signature matches.
  • Create a redirect URL based on current url or allow one to be passed in.
  • Keep response as an accessible class property, and add get/set request methods. Also properly handle GET request authorization header.
  • Some cleanup based on scrutinizer feedback.