woocommerce/includes/api
Max Rice 7b67161d2f Return request relative link headers, fixes #4925
When WordPress is running inside of a sub-directory,
get_woocommerce_api_url() returns the domain along with the
sub-directory path, which results in a duplicate path when the API
request string is added. This commit fixes this by fetching only the
home host and adding the request path to it. set_url_scheme() is used
to set the scheme to either http or https based on the request itself
instead of basing it on whether force_ssl_checkout is enabled or not.
2014-02-25 10:24:36 +01:00
..
class-wc-api-authentication.php REST API OAuth signature issue fix when using filter params 2014-02-14 13:26:31 +02:00
class-wc-api-coupons.php Fix warning when accessing coupons created in pre-2.1 installs 2013-12-10 17:31:41 -05:00
class-wc-api-customers.php update @since to 2.2 2014-02-17 19:17:40 +02:00
class-wc-api-json-handler.php Fix authentication error message typos 2013-12-08 17:37:55 -05:00
class-wc-api-orders.php Fix potential fatal error when fetching orders via API 2014-01-30 15:41:21 -05:00
class-wc-api-products.php API: Add feature image src to product response 2014-01-13 22:14:20 -05:00
class-wc-api-reports.php API: Add top sellers endpoint 2014-01-21 14:53:47 -05:00
class-wc-api-resource.php Fix permissions typo 2013-11-23 14:32:22 -05:00
class-wc-api-server.php Return request relative link headers, fixes #4925 2014-02-25 10:24:36 +01:00
class-wc-api-xml-handler.php API: Add XML generation 2013-11-22 03:41:32 -05:00
interface-wc-api-handler.php Add REST API request/response interface 2013-11-06 01:49:08 -05:00