Changeset 2600210
- Timestamp:
- 09/16/2021 09:09:53 PM (5 years ago)
- Location:
- chord-connect/trunk
- Files:
-
- 2 edited
-
admin/class-chordconnect-admin.php (modified) (4 diffs)
-
includes/class-chordconnect-activator.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
chord-connect/trunk/admin/class-chordconnect-admin.php
r2580999 r2600210 103 103 $data['chordconnect_info_url'] = get_option( 'chordconnect_info_url', '' ); 104 104 $data['chordconnect_download_url'] = get_option( 'chordconnect_download_url', '' ) . get_option( 'chordconnect_organization_hash', ''); 105 $data['chordconnect_local_plugin_version'] = C LOUDENGAGE_VERSION;106 $data['chordconnect_remote_plugin_version'] = get_option( 'chordconnect_remote_plugin_version', C LOUDENGAGE_VERSION );105 $data['chordconnect_local_plugin_version'] = CHORDCONNECT_VERSION; 106 $data['chordconnect_remote_plugin_version'] = get_option( 'chordconnect_remote_plugin_version', CHORDCONNECT_VERSION ); 107 107 $data['chordconnect_remote_widget_version'] = get_option( 'chordconnect_remote_widget_version', '' ); 108 108 $data['chordconnect_check_status'] = get_option( 'chordconnect_check_status', Chordconnect::STATUS_API_CHECK_NEVER ); … … 169 169 update_option( 'chordconnect_organization_name', '' ); 170 170 update_option( 'chordconnect_organization_hash', '' ); 171 update_option( 'chordconnect_remote_plugin_version', C LOUDENGAGE_VERSION );171 update_option( 'chordconnect_remote_plugin_version', CHORDCONNECT_VERSION ); 172 172 update_option( 'chordconnect_check_timestamp', current_time( 'timestamp' ) ); 173 173 update_option( 'chordconnect_check_status', Chordconnect::STATUS_API_CHECK_NO_CALL ); … … 183 183 update_option( 'chordconnect_organization_hash', '' ); 184 184 update_option( 'chordconnect_organization_name', '' ); 185 update_option( 'chordconnect_remote_plugin_version', C LOUDENGAGE_VERSION );185 update_option( 'chordconnect_remote_plugin_version', CHORDCONNECT_VERSION ); 186 186 $notice = Chordconnect::get_remote_organization( Chordconnect::NOTICE_WIDGET_ACTIVATED ); 187 187 } else { … … 209 209 protected function is_local_script_outdated() { 210 210 211 $chordconnect_local_script_version = C LOUDENGAGE_VERSION;211 $chordconnect_local_script_version = CHORDCONNECT_VERSION; 212 212 $chordconnect_remote_script_version = get_option( 'chordconnect_remote_plugin_version', 0 ); 213 213 -
chord-connect/trunk/includes/class-chordconnect-activator.php
r2581750 r2600210 66 66 ]; 67 67 68 $curl = curl_init('https://go.cloudengage.com/ wordpressSignup');68 $curl = curl_init('https://go.cloudengage.com/signup/wordpress'); 69 69 curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); 70 70 curl_setopt($curl, CURLOPT_HTTPHEADER, ['Content-Type:application/json']);
Note: See TracChangeset
for help on using the changeset viewer.