Changeset 2945107
- Timestamp:
- 07/30/2023 03:46:23 PM (2 years ago)
- Location:
- cloud-customer-area
- Files:
-
- 19 added
- 3 edited
-
tags/2.0.7 (added)
-
tags/2.0.7/assets (added)
-
tags/2.0.7/assets/css (added)
-
tags/2.0.7/assets/css/backend.css (added)
-
tags/2.0.7/assets/css/frontend.css (added)
-
tags/2.0.7/assets/js (added)
-
tags/2.0.7/assets/js/backend.js (added)
-
tags/2.0.7/assets/js/frontend.js (added)
-
tags/2.0.7/assets/loading.svg (added)
-
tags/2.0.7/cloud-customer-area.php (added)
-
tags/2.0.7/inc (added)
-
tags/2.0.7/inc/google-api.php (added)
-
tags/2.0.7/inc/main.php (added)
-
tags/2.0.7/part (added)
-
tags/2.0.7/part/settings_page.php (added)
-
tags/2.0.7/part/settings_page_customize.php (added)
-
tags/2.0.7/part/settings_page_main.php (added)
-
tags/2.0.7/part/settings_page_oauth.php (added)
-
tags/2.0.7/readme.txt (added)
-
trunk/cloud-customer-area.php (modified) (1 diff)
-
trunk/inc/main.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cloud-customer-area/trunk/cloud-customer-area.php
r2944706 r2945107 31 31 $main = new \CloudCustomerArea\Inc\Main(); 32 32 $main->init_plugin(); 33 34 $currentVersion = CCA_VER; 35 register_activation_hook(__FILE__, function () use ($currentVersion) { 36 37 add_role('customer_area_user', __('Cloud Area User', 'cloud-customer-area'), []); 38 39 $request_url = add_query_arg( 40 ['id' => 470, 'action' => 'activate', 'domain' => md5(get_home_url()), 'v' => $currentVersion], 41 'https://totalpress.org/wp-json/totalpress/v1/plugin-growth' 42 ); 43 wp_remote_get($request_url); 44 }); 45 register_deactivation_hook(__FILE__, function () use ($currentVersion) { 46 $request_url = add_query_arg( 47 ['id' => 470, 'action' => 'deactivate', 'domain' => md5(get_home_url()), 'v' => $currentVersion], 48 'https://totalpress.org/wp-json/totalpress/v1/plugin-growth' 49 ); 50 wp_remote_get($request_url); 51 }); -
cloud-customer-area/trunk/inc/main.php
r2944706 r2945107 294 294 // Utilities 295 295 $this->applyUpdates(); 296 $this->pluginActions();297 296 } 298 297 … … 513 512 } 514 513 515 516 517 private function pluginActions()518 {519 $currentVersion = CCA_VER;520 register_activation_hook(__FILE__, function () use ($currentVersion) {521 522 add_role('customer_area_user', __('Cloud Area User', 'cloud-customer-area'), []);523 524 $request_url = add_query_arg(525 ['id' => 470, 'action' => 'activate', 'domain' => md5(get_home_url()), 'v' => $currentVersion],526 'https://totalpress.org/wp-json/totalpress/v1/plugin-growth'527 );528 wp_remote_get($request_url);529 });530 register_deactivation_hook(__FILE__, function () use ($currentVersion) {531 532 $this->stop_cron_schedule();533 $this->remove_htaccess_rules();534 535 $request_url = add_query_arg(536 ['id' => 470, 'action' => 'deactivate', 'domain' => md5(get_home_url()), 'v' => $currentVersion],537 'https://totalpress.org/wp-json/totalpress/v1/plugin-growth'538 );539 wp_remote_get($request_url);540 });541 }542 543 514 private function applyUpdates() 544 515 { -
cloud-customer-area/trunk/readme.txt
r2944706 r2945107 5 5 Requires at least: 4.0 6 6 Tested up to: 6.2 7 Stable tag: 2.0. 67 Stable tag: 2.0.7 8 8 Requires PHP: 5.6 9 9 License: GPLv2 or later … … 101 101 == Changelog == 102 102 103 = 2.0.7 = 104 *2023-07-30* 105 106 * Improvements 107 103 108 = 2.0.6 = 104 109 *2023-07-28*
Note: See TracChangeset
for help on using the changeset viewer.