Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added test if request is a REST API request so that cart is not loaded. #21090

Merged
merged 9 commits into from Feb 19, 2019

Commits on Aug 17, 2018

  1. Added test if request is a REST API request so that cart is not loaded.

    Code inspired by WC_REST_Authentication::is_request_to_rest_api, but included also legacy API .
    peterfabian committed Aug 17, 2018
    Copy the full SHA
    0f7b470 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2019

  1. Copy the full SHA
    2d5fc8e View commit details
    Browse the repository at this point in the history
  2. Updated check to only cover non-legacy REST API requests.

    Updated filter name.
    peterfabian committed Jan 24, 2019
    Copy the full SHA
    d390528 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2019

  1. Renamed function

    As legacy REST API will be removed soon anyway.
    peterfabian committed Jan 25, 2019
    Copy the full SHA
    33584e7 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2019

  1. Copy the full SHA
    dda4cab View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2019

  1. Copy the full SHA
    ba12cf7 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    4285559 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    989fad5 View commit details
    Browse the repository at this point in the history
  4. Added back check for empty REQUEST_URI to authentication function, as…

    … it's still needed, the value is used further down.
    peterfabian committed Feb 18, 2019
    Copy the full SHA
    d405c28 View commit details
    Browse the repository at this point in the history