Plugin Directory

Changeset 2600210


Ignore:
Timestamp:
09/16/2021 09:09:53 PM (5 years ago)
Author:
cloudengage
Message:

Updating callback URL and resolving php warning during activation process

Location:
chord-connect/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chord-connect/trunk/admin/class-chordconnect-admin.php

    r2580999 r2600210  
    103103        $data['chordconnect_info_url'] = get_option( 'chordconnect_info_url', '' );
    104104        $data['chordconnect_download_url'] = get_option( 'chordconnect_download_url', '' ) . get_option( 'chordconnect_organization_hash', '');
    105         $data['chordconnect_local_plugin_version'] = CLOUDENGAGE_VERSION;
    106         $data['chordconnect_remote_plugin_version'] = get_option( 'chordconnect_remote_plugin_version', CLOUDENGAGE_VERSION );
     105        $data['chordconnect_local_plugin_version'] = CHORDCONNECT_VERSION;
     106        $data['chordconnect_remote_plugin_version'] = get_option( 'chordconnect_remote_plugin_version', CHORDCONNECT_VERSION );
    107107        $data['chordconnect_remote_widget_version'] = get_option( 'chordconnect_remote_widget_version', '' );
    108108        $data['chordconnect_check_status'] = get_option( 'chordconnect_check_status', Chordconnect::STATUS_API_CHECK_NEVER );
     
    169169                    update_option( 'chordconnect_organization_name', '' );
    170170                    update_option( 'chordconnect_organization_hash', '' );
    171                     update_option( 'chordconnect_remote_plugin_version', CLOUDENGAGE_VERSION );
     171                    update_option( 'chordconnect_remote_plugin_version', CHORDCONNECT_VERSION );
    172172                    update_option( 'chordconnect_check_timestamp', current_time( 'timestamp' ) );
    173173                    update_option( 'chordconnect_check_status', Chordconnect::STATUS_API_CHECK_NO_CALL );
     
    183183                        update_option( 'chordconnect_organization_hash', '' );
    184184                        update_option( 'chordconnect_organization_name', '' );
    185                         update_option( 'chordconnect_remote_plugin_version', CLOUDENGAGE_VERSION );
     185                        update_option( 'chordconnect_remote_plugin_version', CHORDCONNECT_VERSION );
    186186                        $notice = Chordconnect::get_remote_organization( Chordconnect::NOTICE_WIDGET_ACTIVATED );
    187187                    } else {
     
    209209    protected function is_local_script_outdated() {
    210210
    211         $chordconnect_local_script_version = CLOUDENGAGE_VERSION;
     211        $chordconnect_local_script_version = CHORDCONNECT_VERSION;
    212212        $chordconnect_remote_script_version = get_option( 'chordconnect_remote_plugin_version', 0 );
    213213
  • chord-connect/trunk/includes/class-chordconnect-activator.php

    r2581750 r2600210  
    6666            ];
    6767   
    68             $curl = curl_init('https://go.cloudengage.com/wordpressSignup');
     68            $curl = curl_init('https://go.cloudengage.com/signup/wordpress');
    6969            curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
    7070            curl_setopt($curl, CURLOPT_HTTPHEADER, ['Content-Type:application/json']);
Note: See TracChangeset for help on using the changeset viewer.