Changeset 935995
- Timestamp:
- 06/21/2014 07:27:50 AM (12 years ago)
- Location:
- cpd-search/trunk
- Files:
-
- 2 edited
-
cpd-search.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cpd-search/trunk/cpd-search.php
r932513 r935995 5 5 Plugin URI: http://www.cpd.co.uk/wordpress-plugins/ 6 6 Description: Provides a thin layer to the CPD REST API, via PHP/AJAX methods. 7 Version: 3.1. 37 Version: 3.1.4 8 8 Author: The CPD Team 9 9 Author URI: http://www.cpd.co.uk/ … … 391 391 'X-CPD-Token: '.$token, 392 392 '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) { 399 398 throw new CPDSearchUserNotRegisteredException(); 400 399 } -
cpd-search/trunk/readme.txt
r932513 r935995 4 4 Requires at least: 3.6 5 5 Tested up to: 3.9.1 6 Stable tag: 3.1. 36 Stable tag: 3.1.4 7 7 8 8 Thin layer to provide custom themes and plugins with access to CPD's commercial property database. … … 23 23 24 24 == Changelog == 25 26 = 3.1.4 = 27 * Fix for handling of exception responses from 'registerinterest' method calls. 25 28 26 29 = 3.1.3 =
Note: See TracChangeset
for help on using the changeset viewer.