Changeset 1125355
- Timestamp:
- 04/01/2015 01:12:31 PM (11 years ago)
- Location:
- cpd-search/trunk
- Files:
-
- 2 edited
-
cpd-search.php (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cpd-search/trunk/cpd-search.php
r1122682 r1125355 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.3. 17 Version: 3.3.2 8 8 Author: The CPD Team 9 9 Author URI: http://www.cpd.co.uk/ … … 478 478 */ 479 479 static function fetch_clipboard() { 480 $clipboard_id = CPDSearch Token::clipboard_id();480 $clipboard_id = CPDSearch::clipboard_id(); 481 481 482 482 $token = CPDSearchToken::get_user_token(); … … 538 538 539 539 // Record and return results 540 $_SESSION['cpd_clipboard'] = $clipboard; 541 return $clipboard; 540 return CPDSearch::fetch_clipboard(); 542 541 } 543 542 … … 549 548 // Determine result id for REST request 550 549 $resultid = 0; 551 $clipboard = $_SESSION['c lipboard'];550 $clipboard = $_SESSION['cpd_clipboard']; 552 551 foreach($clipboard['properties'] as $result) { 553 552 if($result['property']['propref'] == $propertyid) { 554 $resultid = $ propertyid;553 $resultid = $result['id']; 555 554 } 556 555 } … … 581 580 582 581 // Record and return results 583 $_SESSION['cpd_clipboard'] = $clipboard; 584 return $clipboard; 582 return CPDSearch::fetch_clipboard(); 585 583 } 586 584 -
cpd-search/trunk/readme.txt
r1122682 r1125355 4 4 Requires at least: 3.6 5 5 Tested up to: 4.1.0 6 Stable tag: 3.3. 16 Stable tag: 3.3.2 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.3.2 = 27 * Fix return values from clipboard functions, and session corruption bug. 25 28 26 29 = 3.3.1 =
Note: See TracChangeset
for help on using the changeset viewer.