Plugin Directory

Changeset 909710


Ignore:
Timestamp:
05/07/2014 01:18:41 PM (12 years ago)
Author:
robmcvey
Message:

Fixing conflicts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • copify/trunk/CopifyWordpress.php

    r909126 r909710  
    833833                return;
    834834            }
    835             // Token
     835            // Version check
     836            if (isset($_GET["check"]) && $_GET["check"] == 'version') {
     837                echo json_encode($this->version);
     838                die();
     839            }   
     840            // ID
     841            if (!isset($_GET["id"])) {
     842                throw new Exception('Must include order ID');
     843            }
     844            // Email
    836845            if (!isset($_GET["token"])) {
    837846                throw new Exception('Must include auth token');
Note: See TracChangeset for help on using the changeset viewer.