Changeset 3236719
- Timestamp:
- 02/07/2025 04:44:48 PM (13 months ago)
- Location:
- checkview
- Files:
-
- 2 added
- 2 deleted
- 16 edited
- 1 copied
-
tags/2.0.11 (copied) (copied from checkview/trunk)
-
tags/2.0.11/README.txt (modified) (3 diffs)
-
tags/2.0.11/admin/class-checkview-admin.php (modified) (1 diff)
-
tags/2.0.11/checkview.php (modified) (2 diffs)
-
tags/2.0.11/includes/API/class-checkview-api.php (modified) (1 diff)
-
tags/2.0.11/includes/class-checkview.php (modified) (2 diffs)
-
tags/2.0.11/includes/formhelpers/class-checkview-formidable-helper.php (modified) (2 diffs)
-
tags/2.0.11/includes/woocommercehelper/class-checkview-blocks-payment-gateway.php (modified) (1 diff)
-
tags/2.0.11/includes/woocommercehelper/class-checkview-woo-automated-testing.php (modified) (1 diff)
-
tags/2.0.11/instawp.js (added)
-
tags/2.0.11/webhooks.sh (deleted)
-
trunk/README.txt (modified) (3 diffs)
-
trunk/admin/class-checkview-admin.php (modified) (1 diff)
-
trunk/checkview.php (modified) (2 diffs)
-
trunk/includes/API/class-checkview-api.php (modified) (1 diff)
-
trunk/includes/class-checkview.php (modified) (2 diffs)
-
trunk/includes/formhelpers/class-checkview-formidable-helper.php (modified) (2 diffs)
-
trunk/includes/woocommercehelper/class-checkview-blocks-payment-gateway.php (modified) (1 diff)
-
trunk/includes/woocommercehelper/class-checkview-woo-automated-testing.php (modified) (1 diff)
-
trunk/instawp.js (added)
-
trunk/webhooks.sh (deleted)
Legend:
- Unmodified
- Added
- Removed
-
checkview/tags/2.0.11/README.txt
r3227063 r3236719 8 8 License: GPLv3 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html 10 Stable tag: 2.0.1 010 Stable tag: 2.0.11 11 11 12 12 [CheckView](https://checkview.io/) is the friendly WordPress automated testing platform for everyone, from developers, shop owners to agencies. … … 86 86 87 87 == Changelog == 88 = 2.0.11 = 89 * Resolved PHP errors related to the undefined wpforms() function. 90 * Removed IP address check from WooCommerce API-based helper endpoints. 91 * Corrected automated testing email handling in unit test cases. 92 * Resolved undefined index error in Formidable Forms by adding compatibility for repeater conditional fields. 93 * Enhanced formslist endpoint to properly handle empty form lists. 94 88 95 = 2.0.10 = 89 96 * Enhanced Cloudflare Turnstile integration with Fluent Forms by leveraging cron to prevent premature deactivation of test keys. … … 306 313 307 314 == Upgrade Notice == 315 = 2.0.11 = 316 * Resolved PHP errors related to the undefined wpforms() function. 317 * Removed IP address check from WooCommerce API-based helper endpoints. 318 * Corrected automated testing email handling in unit test cases. 319 * Resolved undefined index error in Formidable Forms by adding compatibility for repeater conditional fields. 320 * Enhanced formslist endpoint to properly handle empty form lists. 321 308 322 = 2.0.10 = 309 323 * Enhanced Cloudflare Turnstile integration with Fluent Forms by leveraging cron to prevent premature deactivation of test keys. -
checkview/tags/2.0.11/admin/class-checkview-admin.php
r3227063 r3236719 372 372 require_once CHECKVIEW_INC_DIR . 'formhelpers/class-checkview-ninja-forms-helper.php'; 373 373 } 374 if ( is_plugin_active( 'wpforms/wpforms.php' ) || is_plugin_active( 'wpforms-lite/wpforms.php') ) {374 if ( function_exists( 'wpforms' ) && ( is_plugin_active( 'wpforms/wpforms.php' ) || is_plugin_active( 'wpforms-lite/wpforms.php' ) ) ) { 375 375 require_once CHECKVIEW_INC_DIR . 'formhelpers/class-checkview-wpforms-helper.php'; 376 376 } -
checkview/tags/2.0.11/checkview.php
r3227063 r3236719 12 12 * Plugin URI: https://checkview.io 13 13 * Description: CheckView is the #1 fully automated solution to test your WordPress forms and detect form problems fast. Automatically test your WordPress forms to ensure you never miss a lead again. 14 * Version: 2.0.1 014 * Version: 2.0.11 15 15 * Author: CheckView 16 16 * Author URI: https://checkview.io/ … … 36 36 * @link https://semver.org 37 37 */ 38 define( 'CHECKVIEW_VERSION', '2.0.1 0' );38 define( 'CHECKVIEW_VERSION', '2.0.11' ); 39 39 40 40 if ( ! defined( 'CHECKVIEW_BASE_DIR' ) ) { -
checkview/tags/2.0.11/includes/API/class-checkview-api.php
r3216431 r3236719 1982 1982 } 1983 1983 1984 if ( $forms && ! empty( $forms ) && false !== $forms && '' !== $forms ) { 1985 set_transient( 'checkview_forms_list_transient', $forms, 12 * HOUR_IN_SECONDS ); 1984 if ( is_array( $forms ) ) { 1985 if ( ! empty( $forms ) ) { 1986 set_transient( 'checkview_forms_list_transient', $forms, 12 * HOUR_IN_SECONDS ); 1987 } 1988 1986 1989 return new WP_REST_Response( 1987 1990 array( -
checkview/tags/2.0.11/includes/class-checkview.php
r3227063 r3236719 71 71 $this->version = CHECKVIEW_VERSION; 72 72 } else { 73 $this->version = '2.0.1 0';73 $this->version = '2.0.11'; 74 74 } 75 75 $this->plugin_name = 'checkview'; … … 139 139 if ( ( 'checkview-saas' === get_option( $visitor_ip ) || isset( $_REQUEST['checkview_test_id'] ) || ( is_array( $cv_bot_ip ) && in_array( $visitor_ip, $cv_bot_ip ) ) ) ) { 140 140 update_option( $visitor_ip, 'checkview-saas', true ); 141 if ( class_exists( 'WooCommerce' ) ) {142 require_once plugin_dir_path( __DIR__ ) . 'includes/woocommercehelper/class-checkview-woo-automated-testing.php';143 $woo_helper = new Checkview_Woo_Automated_Testing( $this->get_plugin_name(), $this->get_version(), $this->loader );144 }141 } 142 if ( class_exists( 'WooCommerce' ) ) { 143 require_once plugin_dir_path( __DIR__ ) . 'includes/woocommercehelper/class-checkview-woo-automated-testing.php'; 144 $woo_helper = new Checkview_Woo_Automated_Testing( $this->get_plugin_name(), $this->get_version(), $this->loader ); 145 145 } 146 146 $this->loader->add_filter( -
checkview/tags/2.0.11/includes/formhelpers/class-checkview-formidable-helper.php
r3216431 r3236719 310 310 $tablename = $wpdb->prefix . 'frm_fields'; 311 311 $fields_data = $wpdb->get_results( $wpdb->prepare( 'Select * from ' . $tablename . ' where form_id=%d', $form_id ) ); 312 if ( $fields_data) {312 if ( ! empty( $fields_data ) && is_array( $fields_data ) ) { 313 313 foreach ( $fields_data as $field ) { 314 314 $type = $field->type; … … 379 379 $field_options = maybe_unserialize( $field->options ); 380 380 foreach ( $field_options as $key => $val ) { 381 $field_options[ $key ]['field_id'] = $field_id . '-' . $key; 381 // Ensure the current value is an array. 382 if ( is_array( $val ) ) { 383 $field_options[ $key ]['field_id'] = $field_id . '-' . $key; 384 } else { 385 error_log( "Non-array value detected in field_options for key '{$field_id }': " . print_r( $val, true ) ); 386 } 382 387 } 383 388 $fields[ $field->id ] = array( -
checkview/tags/2.0.11/includes/woocommercehelper/class-checkview-blocks-payment-gateway.php
r3227063 r3236719 69 69 : array( 70 70 'dependencies' => array(), 71 'version' => '2.0.1 0',71 'version' => '2.0.11', 72 72 ); 73 73 $script_url = CHECKVIEW_URI . $script_path; -
checkview/tags/2.0.11/includes/woocommercehelper/class-checkview-woo-automated-testing.php
r3216431 r3236719 204 204 } 205 205 206 add_filter( 'wp_mail', array( $this, 'checkview_filter_wp_mail' ), 99 );206 // add_filter( 'wp_mail', array( $this, 'checkview_filter_wp_mail' ), 99 ); 207 207 $this->checkview_test_mode(); 208 208 } -
checkview/trunk/README.txt
r3227063 r3236719 8 8 License: GPLv3 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html 10 Stable tag: 2.0.1 010 Stable tag: 2.0.11 11 11 12 12 [CheckView](https://checkview.io/) is the friendly WordPress automated testing platform for everyone, from developers, shop owners to agencies. … … 86 86 87 87 == Changelog == 88 = 2.0.11 = 89 * Resolved PHP errors related to the undefined wpforms() function. 90 * Removed IP address check from WooCommerce API-based helper endpoints. 91 * Corrected automated testing email handling in unit test cases. 92 * Resolved undefined index error in Formidable Forms by adding compatibility for repeater conditional fields. 93 * Enhanced formslist endpoint to properly handle empty form lists. 94 88 95 = 2.0.10 = 89 96 * Enhanced Cloudflare Turnstile integration with Fluent Forms by leveraging cron to prevent premature deactivation of test keys. … … 306 313 307 314 == Upgrade Notice == 315 = 2.0.11 = 316 * Resolved PHP errors related to the undefined wpforms() function. 317 * Removed IP address check from WooCommerce API-based helper endpoints. 318 * Corrected automated testing email handling in unit test cases. 319 * Resolved undefined index error in Formidable Forms by adding compatibility for repeater conditional fields. 320 * Enhanced formslist endpoint to properly handle empty form lists. 321 308 322 = 2.0.10 = 309 323 * Enhanced Cloudflare Turnstile integration with Fluent Forms by leveraging cron to prevent premature deactivation of test keys. -
checkview/trunk/admin/class-checkview-admin.php
r3227063 r3236719 372 372 require_once CHECKVIEW_INC_DIR . 'formhelpers/class-checkview-ninja-forms-helper.php'; 373 373 } 374 if ( is_plugin_active( 'wpforms/wpforms.php' ) || is_plugin_active( 'wpforms-lite/wpforms.php') ) {374 if ( function_exists( 'wpforms' ) && ( is_plugin_active( 'wpforms/wpforms.php' ) || is_plugin_active( 'wpforms-lite/wpforms.php' ) ) ) { 375 375 require_once CHECKVIEW_INC_DIR . 'formhelpers/class-checkview-wpforms-helper.php'; 376 376 } -
checkview/trunk/checkview.php
r3227063 r3236719 12 12 * Plugin URI: https://checkview.io 13 13 * Description: CheckView is the #1 fully automated solution to test your WordPress forms and detect form problems fast. Automatically test your WordPress forms to ensure you never miss a lead again. 14 * Version: 2.0.1 014 * Version: 2.0.11 15 15 * Author: CheckView 16 16 * Author URI: https://checkview.io/ … … 36 36 * @link https://semver.org 37 37 */ 38 define( 'CHECKVIEW_VERSION', '2.0.1 0' );38 define( 'CHECKVIEW_VERSION', '2.0.11' ); 39 39 40 40 if ( ! defined( 'CHECKVIEW_BASE_DIR' ) ) { -
checkview/trunk/includes/API/class-checkview-api.php
r3216431 r3236719 1982 1982 } 1983 1983 1984 if ( $forms && ! empty( $forms ) && false !== $forms && '' !== $forms ) { 1985 set_transient( 'checkview_forms_list_transient', $forms, 12 * HOUR_IN_SECONDS ); 1984 if ( is_array( $forms ) ) { 1985 if ( ! empty( $forms ) ) { 1986 set_transient( 'checkview_forms_list_transient', $forms, 12 * HOUR_IN_SECONDS ); 1987 } 1988 1986 1989 return new WP_REST_Response( 1987 1990 array( -
checkview/trunk/includes/class-checkview.php
r3227063 r3236719 71 71 $this->version = CHECKVIEW_VERSION; 72 72 } else { 73 $this->version = '2.0.1 0';73 $this->version = '2.0.11'; 74 74 } 75 75 $this->plugin_name = 'checkview'; … … 139 139 if ( ( 'checkview-saas' === get_option( $visitor_ip ) || isset( $_REQUEST['checkview_test_id'] ) || ( is_array( $cv_bot_ip ) && in_array( $visitor_ip, $cv_bot_ip ) ) ) ) { 140 140 update_option( $visitor_ip, 'checkview-saas', true ); 141 if ( class_exists( 'WooCommerce' ) ) {142 require_once plugin_dir_path( __DIR__ ) . 'includes/woocommercehelper/class-checkview-woo-automated-testing.php';143 $woo_helper = new Checkview_Woo_Automated_Testing( $this->get_plugin_name(), $this->get_version(), $this->loader );144 }141 } 142 if ( class_exists( 'WooCommerce' ) ) { 143 require_once plugin_dir_path( __DIR__ ) . 'includes/woocommercehelper/class-checkview-woo-automated-testing.php'; 144 $woo_helper = new Checkview_Woo_Automated_Testing( $this->get_plugin_name(), $this->get_version(), $this->loader ); 145 145 } 146 146 $this->loader->add_filter( -
checkview/trunk/includes/formhelpers/class-checkview-formidable-helper.php
r3216431 r3236719 310 310 $tablename = $wpdb->prefix . 'frm_fields'; 311 311 $fields_data = $wpdb->get_results( $wpdb->prepare( 'Select * from ' . $tablename . ' where form_id=%d', $form_id ) ); 312 if ( $fields_data) {312 if ( ! empty( $fields_data ) && is_array( $fields_data ) ) { 313 313 foreach ( $fields_data as $field ) { 314 314 $type = $field->type; … … 379 379 $field_options = maybe_unserialize( $field->options ); 380 380 foreach ( $field_options as $key => $val ) { 381 $field_options[ $key ]['field_id'] = $field_id . '-' . $key; 381 // Ensure the current value is an array. 382 if ( is_array( $val ) ) { 383 $field_options[ $key ]['field_id'] = $field_id . '-' . $key; 384 } else { 385 error_log( "Non-array value detected in field_options for key '{$field_id }': " . print_r( $val, true ) ); 386 } 382 387 } 383 388 $fields[ $field->id ] = array( -
checkview/trunk/includes/woocommercehelper/class-checkview-blocks-payment-gateway.php
r3227063 r3236719 69 69 : array( 70 70 'dependencies' => array(), 71 'version' => '2.0.1 0',71 'version' => '2.0.11', 72 72 ); 73 73 $script_url = CHECKVIEW_URI . $script_path; -
checkview/trunk/includes/woocommercehelper/class-checkview-woo-automated-testing.php
r3216431 r3236719 204 204 } 205 205 206 add_filter( 'wp_mail', array( $this, 'checkview_filter_wp_mail' ), 99 );206 // add_filter( 'wp_mail', array( $this, 'checkview_filter_wp_mail' ), 99 ); 207 207 $this->checkview_test_mode(); 208 208 }
Note: See TracChangeset
for help on using the changeset viewer.