Plugin Directory

Changeset 2287306


Ignore:
Timestamp:
04/20/2020 10:24:55 AM (6 years ago)
Author:
liorchen
Message:

1.0.128

Location:
infinitycrowds/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • infinitycrowds/trunk/includes/Admin.php

    r2287289 r2287306  
    280280        }
    281281        else if(isset($_POST['infcrwds_logout'])) {
    282             $req = new ICRequest($p->store);
     282            $req = new ICRequest($this->_store);
    283283            $req->post('/merchants/logout/plugin', array(
    284284                "reason" => null,
     
    292292                $delete = $wpdb->delete( $wpdb->prefix . 'woocommerce_api_keys', array( 'key_id' => $key_id ), array( '%d' ) );
    293293            }
    294             delete_option('infcrwds_global_settings');
     294            $updated = update_option('infcrwds_global_settings', array(
     295                'ic_server_baseurl' => 'https://api.infinitycrowds.com/api/v1',
     296                'gateways' => array(),
     297                'is_internal_upsell_enabled' => true,
     298                "is_pp_ref_trans_enabled" => false,
     299                "add_widget_to_order_recieved_email" => true,
     300                "logs_enabled" => false,
     301                "track" => true
     302            ));
    295303
    296304            include( INFCWDS_PLUGIN_DIR . '/views/login.php');
  • infinitycrowds/trunk/infcrwds.php

    r2287289 r2287306  
    1414 * Plugin URI:        https://www.infinitycrowds.com
    1515 * Description:       One Click Upsell And Offer Network
    16  * Version:           1.0.127
     16 * Version:           1.0.128
    1717 * Author:            Infinitycrowds
    1818 * Author URI:        https://www.infinitycrowds.com
     
    119119
    120120function define_plugin_properties() {
    121     define( 'INFCWDS_VERSION', '1.0.127' );
     121    define( 'INFCWDS_VERSION', '1.0.128' );
    122122    define( 'INFCWDS_MIN_WC_VERSION', '3.0.0' );
    123123    define( 'INFCWDS_MIN_WP_VERSION', '4.9' );
Note: See TracChangeset for help on using the changeset viewer.