Changeset 3366835
- Timestamp:
- 09/24/2025 02:04:46 AM (4 months ago)
- Location:
- integrate-any-form-with-zoho-crm
- Files:
-
- 77 added
- 7 edited
-
tags/1.0.10 (added)
-
tags/1.0.10/assets (added)
-
tags/1.0.10/assets/css (added)
-
tags/1.0.10/assets/css/auth.css (added)
-
tags/1.0.10/assets/css/banner.css (added)
-
tags/1.0.10/assets/css/error-log.css (added)
-
tags/1.0.10/assets/css/help.css (added)
-
tags/1.0.10/assets/css/home.css (added)
-
tags/1.0.10/assets/css/premium.css (added)
-
tags/1.0.10/assets/css/settings.css (added)
-
tags/1.0.10/assets/css/setup-filter.css (added)
-
tags/1.0.10/assets/css/setup-fm.css (added)
-
tags/1.0.10/assets/img (added)
-
tags/1.0.10/assets/img/close.png (added)
-
tags/1.0.10/assets/img/loading-icon.gif (added)
-
tags/1.0.10/assets/img/loading-icon.png (added)
-
tags/1.0.10/assets/img/loading-icon.svg (added)
-
tags/1.0.10/assets/img/loading.gif (added)
-
tags/1.0.10/assets/img/tick.png (added)
-
tags/1.0.10/assets/img/zoho-logo-1.png (added)
-
tags/1.0.10/assets/img/zoho-logo.png (added)
-
tags/1.0.10/assets/js (added)
-
tags/1.0.10/assets/js/common.js (added)
-
tags/1.0.10/assets/js/error-log.js (added)
-
tags/1.0.10/assets/js/help.js (added)
-
tags/1.0.10/assets/js/home.js (added)
-
tags/1.0.10/assets/js/setup-custom.js (added)
-
tags/1.0.10/assets/js/setup-filter.js (added)
-
tags/1.0.10/assets/js/setup-fm.js (added)
-
tags/1.0.10/includes (added)
-
tags/1.0.10/includes/admin (added)
-
tags/1.0.10/includes/admin/accounts-tab.php (added)
-
tags/1.0.10/includes/admin/admin.php (added)
-
tags/1.0.10/includes/admin/banner.php (added)
-
tags/1.0.10/includes/admin/errorlog-tab.php (added)
-
tags/1.0.10/includes/admin/premium-tab.php (added)
-
tags/1.0.10/includes/admin/settings-tab.php (added)
-
tags/1.0.10/includes/admin/setup-existing.php (added)
-
tags/1.0.10/includes/admin/setup-new.php (added)
-
tags/1.0.10/includes/admin/setup-tab.php (added)
-
tags/1.0.10/includes/class-includes.php (added)
-
tags/1.0.10/includes/extend (added)
-
tags/1.0.10/includes/extend/auth.php (added)
-
tags/1.0.10/includes/extend/error-log.php (added)
-
tags/1.0.10/includes/extend/extend.php (added)
-
tags/1.0.10/includes/extend/setup.php (added)
-
tags/1.0.10/includes/function (added)
-
tags/1.0.10/includes/function/common-actions.php (added)
-
tags/1.0.10/includes/function/review.php (added)
-
tags/1.0.10/includes/function/session-notice.php (added)
-
tags/1.0.10/includes/includes.php (added)
-
tags/1.0.10/includes/notice (added)
-
tags/1.0.10/includes/notice/reintegration-notice.php (added)
-
tags/1.0.10/integrate-any-form-with-zoho-crm.php (added)
-
tags/1.0.10/readme.txt (added)
-
tags/1.0.10/src (added)
-
tags/1.0.10/src/db (added)
-
tags/1.0.10/src/db/zoho-account.php (added)
-
tags/1.0.10/src/db/zoho-error-log.php (added)
-
tags/1.0.10/src/db/zoho-field-mapping.php (added)
-
tags/1.0.10/src/forms (added)
-
tags/1.0.10/src/forms/form-fields.php (added)
-
tags/1.0.10/src/forms/form-group-ids.php (added)
-
tags/1.0.10/src/forms/form-name.php (added)
-
tags/1.0.10/src/forms/forms.php (added)
-
tags/1.0.10/src/forms/id-mapping.php (added)
-
tags/1.0.10/src/forms/submit-action.php (added)
-
tags/1.0.10/src/product (added)
-
tags/1.0.10/src/product/action.php (added)
-
tags/1.0.10/src/product/zoho-account-action.php (added)
-
tags/1.0.10/src/product/zoho-bigin.php (added)
-
tags/1.0.10/src/product/zoho-crm.php (added)
-
tags/1.0.10/src/product/zoho-errorlog-action.php (added)
-
tags/1.0.10/src/product/zoho-settings-action.php (added)
-
tags/1.0.10/src/product/zoho-setup-action.php (added)
-
tags/1.0.10/src/product/zoho-util.php (added)
-
tags/1.0.10/uninstall.php (added)
-
trunk/includes/extend/auth.php (modified) (2 diffs)
-
trunk/includes/extend/error-log.php (modified) (2 diffs)
-
trunk/includes/notice/reintegration-notice.php (modified) (1 diff)
-
trunk/integrate-any-form-with-zoho-crm.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/db/zoho-account.php (modified) (2 diffs)
-
trunk/src/forms/submit-action.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
integrate-any-form-with-zoho-crm/trunk/includes/extend/auth.php
r3229014 r3366835 14 14 class IAFWZC_Accounts_Extend extends WP_List_Table 15 15 { 16 protected $cache_key;17 16 18 17 public function __construct() 19 18 { 20 19 global $blog_id; 21 22 // Dynamically set cache key for multisite compatibility23 $this->cache_key = "iafwzc_all_account_data_{$blog_id}";24 20 25 21 // Initialize parent class with the required arguments … … 59 55 $this->_column_headers = [$columns, $hidden, $sortable]; 60 56 61 // Retrieve account data from cache 62 $account_items = wp_cache_get($this->cache_key); 63 if ($account_items === false) { 64 // If not cached, fetch all account data 65 $account_items = $iafwzc_accountDBInstance->get_account_data(); 66 } 57 $account_items = $iafwzc_accountDBInstance->get_account_data(); 67 58 68 59 // Check if $account_items is an array with data -
integrate-any-form-with-zoho-crm/trunk/includes/extend/error-log.php
r3229014 r3366835 13 13 class IAFWZC_Error_Log_Extend extends WP_List_Table 14 14 { 15 protected $cache_key = 'iafwzc_all_error_log_data';16 17 15 public function __construct() 18 16 { … … 304 302 305 303 306 public function clear_cache()307 {308 wp_cache_delete($this->cache_key);309 }310 311 304 public function extra_tablenav($which) 312 305 { -
integrate-any-form-with-zoho-crm/trunk/includes/notice/reintegration-notice.php
r3366372 r3366835 34 34 <strong><?php echo esc_html__('Important:', 'integrate-any-form-with-zoho-crm'); ?></strong> 35 35 <?php echo esc_html__( 36 'If you previously used the Elementor Forms integration, please reconfigure it after this update. All other form integrations continue to work normally.',36 'If you are using a version below 1.0.9 and previously used the Elementor Forms integration, please reconfigure it after this update. All other form integrations continue to work normally.', 37 37 'integrate-any-form-with-zoho-crm' 38 38 ); ?> -
integrate-any-form-with-zoho-crm/trunk/integrate-any-form-with-zoho-crm.php
r3366372 r3366835 5 5 * Plugin URI: https://integrazo.com/products/integrate-any-form-with-zoho-crm 6 6 * Description: Automatically send leads from popular WordPress forms to Zoho CRM and Bigin and grow your business. 7 * Version: 1.0. 97 * Version: 1.0.10 8 8 * Author: Integrazo 9 9 * Author URI: https://integrazo.com/ -
integrate-any-form-with-zoho-crm/trunk/readme.txt
r3366372 r3366835 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.0 7 Stable tag: 1.0. 97 Stable tag: 1.0.10 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 471 471 == Changelog == 472 472 473 = 1.0.10 = 474 * Fixed: Elementor free version form submissions not working 475 * Removed: Cache-based account loading for more reliable performance 476 473 477 = 1.0.9 = 474 478 * Changed: Elementor Forms integration flow updated for smoother setup -
integrate-any-form-with-zoho-crm/trunk/src/db/zoho-account.php
r3229014 r3366835 111 111 global $wpdb, $blog_id; 112 112 113 // Cache key for all account data with multisite compatibility114 $cache_key = "iafwzc_all_account_data_{$blog_id}";115 116 // Attempt to get data from cache without specifying a group117 $cached_data = wp_cache_get($cache_key);118 119 if ($cached_data !== false) {120 return $cached_data;121 }122 123 113 // Fetch all account data from the database 124 // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery 114 // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching 125 115 $data = $wpdb->get_results("SELECT * FROM " . esc_sql($this->table_name), ARRAY_A); 126 116 … … 129 119 return []; 130 120 } 131 132 // Store the fetched data in cache for future requests without a group133 wp_cache_set($cache_key, $data, '', HOUR_IN_SECONDS);134 121 135 122 return $data; -
integrate-any-form-with-zoho-crm/trunk/src/forms/submit-action.php
r3366372 r3366835 384 384 $form_id = $form_post_id . '_' . $form_widget_id; 385 385 $form_group_id = 7; // Elementor Forms group 386 387 386 // --- License/session check 388 387 $session = iafwzc_is_valid_key(); … … 390 389 // If session invalid, block and stop further processing 391 390 $IAFWZC_Field_MappingDBInstance->block_field_mapping(); 392 return;393 391 } 394 392 … … 417 415 $raw_fields = $record->get('fields'); // ElementorPro\Forms\Record stores submitted fields here 418 416 $raw_fields = is_array($raw_fields) ? $raw_fields : []; 419 420 417 foreach ($raw_fields as $id => $field) { 421 418 if (! is_array($field)) {
Note: See TracChangeset
for help on using the changeset viewer.