Plugin Directory

Changeset 909712


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

Minor change to return JSON when auto publish complete

File:
1 edited

Legend:

Unmodified
Added
Removed
  • copify/trunk/CopifyWordpress.php

    r909711 r909712  
    880880            $message = sprintf('Order %s auto-published', $id);
    881881            $json = array('success' => true, 'message' => $message);
     882            echo json_encode($json);
     883            die();
    882884        } catch (Exception $e) {
    883885            $message = $e->getMessage();
Note: See TracChangeset for help on using the changeset viewer.