Plugin Directory

Changeset 935995


Ignore:
Timestamp:
06/21/2014 07:27:50 AM (12 years ago)
Author:
rossigee
Message:

Apply latest patches from internal repository.

Location:
cpd-search/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpd-search/trunk/cpd-search.php

    r932513 r935995  
    55Plugin URI: http://www.cpd.co.uk/wordpress-plugins/
    66Description: Provides a thin layer to the CPD REST API, via PHP/AJAX methods.
    7 Version: 3.1.3
     7Version: 3.1.4
    88Author: The CPD Team
    99Author URI: http://www.cpd.co.uk/
     
    391391            'X-CPD-Token: '.$token,
    392392            'X-CPD-Context: '.CPDSearch::service_context(),
    393             'Content-Type: application/json'
    394         ));
    395         curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
    396         $rawdata = curl_exec($curl);
    397         $info = curl_getinfo($curl);
    398         if($info['http_code'] == 403) {
     393        ));
     394        curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
     395        $rawdata = curl_exec($curl);
     396        $info = curl_getinfo($curl);
     397        if($info['http_code'] == 401) {
    399398            throw new CPDSearchUserNotRegisteredException();
    400399        }
  • cpd-search/trunk/readme.txt

    r932513 r935995  
    44Requires at least: 3.6
    55Tested up to: 3.9.1
    6 Stable tag: 3.1.3
     6Stable tag: 3.1.4
    77
    88Thin layer to provide custom themes and plugins with access to CPD's commercial property database.
     
    2323
    2424== Changelog ==
     25
     26= 3.1.4 =
     27* Fix for handling of exception responses from 'registerinterest' method calls.
    2528
    2629= 3.1.3 =
Note: See TracChangeset for help on using the changeset viewer.