Plugin Directory

Changeset 1125355


Ignore:
Timestamp:
04/01/2015 01:12:31 PM (11 years ago)
Author:
rossigee
Message:

Apply latest patches from github repository (https://github.com/commpropdb/cpd-search).

Location:
cpd-search/trunk
Files:
2 edited

Legend:

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

    r1122682 r1125355  
    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.3.1
     7Version: 3.3.2
    88Author: The CPD Team
    99Author URI: http://www.cpd.co.uk/
     
    478478     */
    479479    static function fetch_clipboard() {
    480         $clipboard_id = CPDSearchToken::clipboard_id();
     480        $clipboard_id = CPDSearch::clipboard_id();
    481481       
    482482        $token = CPDSearchToken::get_user_token();
     
    538538       
    539539        // Record and return results
    540         $_SESSION['cpd_clipboard'] = $clipboard;
    541         return $clipboard;
     540        return CPDSearch::fetch_clipboard();
    542541    }
    543542   
     
    549548        // Determine result id for REST request
    550549        $resultid = 0;
    551         $clipboard = $_SESSION['clipboard'];
     550        $clipboard = $_SESSION['cpd_clipboard'];
    552551        foreach($clipboard['properties'] as $result) {
    553552            if($result['property']['propref'] == $propertyid) {
    554                 $resultid = $propertyid;
     553                $resultid = $result['id'];
    555554            }
    556555        }
     
    581580       
    582581        // Record and return results
    583         $_SESSION['cpd_clipboard'] = $clipboard;
    584         return $clipboard;
     582        return CPDSearch::fetch_clipboard();
    585583    }
    586584   
  • cpd-search/trunk/readme.txt

    r1122682 r1125355  
    44Requires at least: 3.6
    55Tested up to: 4.1.0
    6 Stable tag: 3.3.1
     6Stable tag: 3.3.2
    77
    88Thin layer to provide custom themes and plugins with access to CPD's commercial property database.
     
    2323
    2424== Changelog ==
     25
     26= 3.3.2 =
     27* Fix return values from clipboard functions, and session corruption bug.
    2528
    2629= 3.3.1 =
Note: See TracChangeset for help on using the changeset viewer.