Plugin Directory

Changeset 1872821


Ignore:
Timestamp:
05/11/2018 05:00:15 PM (8 years ago)
Author:
fraudgrade
Message:

Update to 2.0.0

Location:
fraudgrade/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • fraudgrade/trunk/fraudgrade.php

    r1806334 r1872821  
    1515 * Plugin URI:
    1616 * Description:       This plugin integrates directly with FraudGrade's Fraud Prevention and Detection Services to mitigate most types of Online Fraud. To get started: activate the FraudGrade plugin and then browse to the Settings page to setup your integration.
    17  * Version:           1.0.0
     17 * Version:           2.0.0
    1818 * Author:            FraudGrade
    1919 * Author URI:
     
    3434 * @package    IP_Check
    3535 * @author     FraudGrade
    36  * @version  1.0.0
     36 * @version  2.0.0
    3737 */
    3838class ipvl_FraudGrade {
  • fraudgrade/trunk/libraries/global.php

    r1870953 r1872821  
    44 * who come from Proxy's, TOR, Datacenters, or VPN networks.
    55 *
    6  * @since      1.0.0
     6 * @since      2.0.0
    77 *
    88 * @package    FraudGrade
    99 * @subpackage FraudGrade/globals
    1010 * @author     FraudGrade
    11  * @version  1.0.0
     11 * @version  2.0.0
    1212 */
    1313
     
    2525 * @subpackage FraudGrade/globals
    2626 * @author     FraudGrade
    27  * @version  1.0.0
     27 * @version  2.0.0
    2828 */
    2929class ipvl_FraudGrade_Globals {
     
    348348    {
    349349        // Data is not correct format
    350         if ( ! is_object( $data ) OR ! isset( $data->ipReview ) ) return FALSE;
     350        if ( ! is_object( $data ) OR ! isset( $data->ip ) ) return FALSE;
    351351        // Cache is disabled do not save data
    352352        if ( (int) ipvl_FraudGrade::get_settings()['ipc_cache_time'] === 0) return FALSE;
    353353        global $user_ID, $wpdb;
    354354
    355         $data = $data->ipReview;
    356355        $user_ID = (int) $user_ID;
    357356        if ( 0 === $user_ID )
     
    407406                '_isBlacklisted'        => (int) $data->isBlacklisted,
    408407                '_isBlacklistedDetails' => (string) $data->isBlacklistedDetails,
    409                 '_ipGrade'              => (string) $data->ipGrade,
    410                 '_ipGradeDetails'       => (string) $data->ipGradeDetails,
     408//              '_ipGrade'              => (string) $data->ipGrade,
     409//              '_ipGradeDetails'       => (string) $data->ipGradeDetails,
    411410                '_proxyDetected'        => (int) $data->proxyDetected,
    412411                '_vpnDetected'          => (int) $data->vpnDetected,
     
    422421                '_country'              => $data->country,
    423422                '_countryIsoCode'       => $data->countryIsoCode,
    424                 '_accuracyRadius'       => $data->accuracyRadius,
     423//              '_accuracyRadius'       => $data->accuracyRadius,
    425424                '_isp'                  => $data->isp,
    426425                '_connectionType'       => $data->connectionType,
     
    430429            ),
    431430        );
     431
     432
     433// ipvl_dump( $data );
    432434        global $wp_rewrite;
    433435        $wp_rewrite = new wp_rewrite;
  • fraudgrade/trunk/readme.txt

    r1806451 r1872821  
    55Tested up to: 4.9.1
    66Requires PHP: 5.6.3
    7 Stable tag: 1.0.0
     7Stable tag: 2.0.0
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3131v1.0.0 - Initial Release.
    3232v1.5.0 - Removed Highcharts in favor of Flot charting libray, added Search Engine whitelisting and ability to whitelist specific pages.
     33v2.0.0 - Update IP Review API endpoint
    3334
    3435== Screenshots ==
Note: See TracChangeset for help on using the changeset viewer.