Plugin Directory

Changeset 3395159


Ignore:
Timestamp:
11/13/2025 03:55:57 PM (4 months ago)
Author:
checkview
Message:

Update to version 2.0.23 from GitHub

Location:
checkview
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • checkview/tags/2.0.23/README.txt

    r3387165 r3395159  
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
    10 Stable tag: 2.0.22
     10Stable tag: 2.0.23
    1111
    1212[CheckView](https://checkview.io/) is the friendly WordPress automated testing platform for everyone, from developers, shop owners to agencies. 
     
    8686
    8787== Changelog ==
     88= 2.0.23 =
     89* Trim ports when detecting IP addresses.
     90
    8891= 2.0.22 =
    8992* Handle CF7 piped value mismatches.
     
    385388
    386389== Upgrade Notice ==
     390= 2.0.23 =
     391* Trim ports when detecting IP addresses.
     392
    387393= 2.0.22 =
    388394* Handle CF7 piped value mismatches.
  • checkview/tags/2.0.23/checkview.php

    r3387165 r3395159  
    1212 * Plugin URI:        https://checkview.io
    1313 * 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.22
     14 * Version:           2.0.23
    1515 * Author:            CheckView
    1616 * Author URI:        https://checkview.io/
     
    3636 * @link https://semver.org
    3737 */
    38 define( 'CHECKVIEW_VERSION', '2.0.22' );
     38define( 'CHECKVIEW_VERSION', '2.0.23' );
    3939
    4040if ( ! defined( 'CHECKVIEW_BASE_DIR' ) ) {
  • checkview/tags/2.0.23/includes/checkview-functions.php

    r3375260 r3395159  
    389389            foreach ( explode( ',', $key ) as $ip ) {
    390390                $ip = trim( $ip );
    391 
    392                 if ( checkview_validate_ip( $ip ) && is_array( $cv_bot_ip ) && in_array( $ip, $cv_bot_ip ) ) {
     391                $ip = preg_replace('/:\d{1,5}$/', '', $ip);
     392
     393                if ( $ip !== null && checkview_validate_ip( $ip ) && is_array( $cv_bot_ip ) && in_array( $ip, $cv_bot_ip ) ) {
    393394                    return sanitize_text_field( $ip );
    394395                }
  • checkview/tags/2.0.23/includes/checkview-helper-functions.php

    r3335533 r3395159  
    2323        // Validate that the input is a valid IP address.
    2424        if ( ! empty( $ip ) && ! filter_var( $ip, FILTER_VALIDATE_IP ) ) {
    25             // If validation fails, handle the error appropriately.
    26             error_log( esc_html__( 'Invalid IP Address', 'checkview' ) );
    2725            return false;
    2826        } elseif ( empty( $ip ) ) {
  • checkview/tags/2.0.23/includes/class-checkview.php

    r3387165 r3395159  
    8181            $this->version = CHECKVIEW_VERSION;
    8282        } else {
    83             $this->version = '2.0.22';
     83            $this->version = '2.0.23';
    8484        }
    8585        $this->plugin_name = 'checkview';
  • checkview/trunk/README.txt

    r3387165 r3395159  
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
    10 Stable tag: 2.0.22
     10Stable tag: 2.0.23
    1111
    1212[CheckView](https://checkview.io/) is the friendly WordPress automated testing platform for everyone, from developers, shop owners to agencies. 
     
    8686
    8787== Changelog ==
     88= 2.0.23 =
     89* Trim ports when detecting IP addresses.
     90
    8891= 2.0.22 =
    8992* Handle CF7 piped value mismatches.
     
    385388
    386389== Upgrade Notice ==
     390= 2.0.23 =
     391* Trim ports when detecting IP addresses.
     392
    387393= 2.0.22 =
    388394* Handle CF7 piped value mismatches.
  • checkview/trunk/checkview.php

    r3387165 r3395159  
    1212 * Plugin URI:        https://checkview.io
    1313 * 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.22
     14 * Version:           2.0.23
    1515 * Author:            CheckView
    1616 * Author URI:        https://checkview.io/
     
    3636 * @link https://semver.org
    3737 */
    38 define( 'CHECKVIEW_VERSION', '2.0.22' );
     38define( 'CHECKVIEW_VERSION', '2.0.23' );
    3939
    4040if ( ! defined( 'CHECKVIEW_BASE_DIR' ) ) {
  • checkview/trunk/includes/checkview-functions.php

    r3375260 r3395159  
    389389            foreach ( explode( ',', $key ) as $ip ) {
    390390                $ip = trim( $ip );
    391 
    392                 if ( checkview_validate_ip( $ip ) && is_array( $cv_bot_ip ) && in_array( $ip, $cv_bot_ip ) ) {
     391                $ip = preg_replace('/:\d{1,5}$/', '', $ip);
     392
     393                if ( $ip !== null && checkview_validate_ip( $ip ) && is_array( $cv_bot_ip ) && in_array( $ip, $cv_bot_ip ) ) {
    393394                    return sanitize_text_field( $ip );
    394395                }
  • checkview/trunk/includes/checkview-helper-functions.php

    r3335533 r3395159  
    2323        // Validate that the input is a valid IP address.
    2424        if ( ! empty( $ip ) && ! filter_var( $ip, FILTER_VALIDATE_IP ) ) {
    25             // If validation fails, handle the error appropriately.
    26             error_log( esc_html__( 'Invalid IP Address', 'checkview' ) );
    2725            return false;
    2826        } elseif ( empty( $ip ) ) {
  • checkview/trunk/includes/class-checkview.php

    r3387165 r3395159  
    8181            $this->version = CHECKVIEW_VERSION;
    8282        } else {
    83             $this->version = '2.0.22';
     83            $this->version = '2.0.23';
    8484        }
    8585        $this->plugin_name = 'checkview';
Note: See TracChangeset for help on using the changeset viewer.