Plugin Directory

Changeset 3445770


Ignore:
Timestamp:
01/23/2026 06:38:46 PM (7 weeks ago)
Author:
checkview
Message:

Update to version 2.0.28 from GitHub

Location:
checkview
Files:
12 edited
1 copied

Legend:

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

    r3444264 r3445770  
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
    10 Stable tag: 2.0.27
     10Stable tag: 2.0.28
    1111
    1212[CheckView](https://checkview.io/) automates WordPress form and WooCommerce testing, monitoring key flows to catch failures early before they cost you leads or sales everyday.
     
    205205
    206206== Changelog ==
     207
     208= 2.0.28 =
     209* Allow "draft" status when retrieving store products.
    207210
    208211= 2.0.27 =
     
    523526== Upgrade Notice ==
    524527
     528= 2.0.28 =
     529* Allow "draft" status when retrieving store products.
     530
    525531= 2.0.27 =
    526532* Add support for Fluent Forms fields: Terms and Conditions, GDPR Acceptance.
  • checkview/tags/2.0.28/checkview.php

    r3444264 r3445770  
    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.27
     14 * Version:           2.0.28
    1515 * Author:            CheckView
    1616 * Author URI:        https://checkview.io/
     
    3636 * @link https://semver.org
    3737 */
    38 define( 'CHECKVIEW_VERSION', '2.0.27' );
     38define( 'CHECKVIEW_VERSION', '2.0.28' );
    3939
    4040if ( ! defined( 'CHECKVIEW_BASE_DIR' ) ) {
  • checkview/tags/2.0.28/includes/API/class-checkview-api.php

    r3335533 r3445770  
    765765        $args = array(
    766766            'post_type'           => 'product',
    767             'post_status'         => 'publish',
     767            'post_status'         => array( 'publish', 'draft' ),
    768768            'posts_per_page'      => 1000,
    769769            'ignore_sticky_posts' => 1,
  • checkview/tags/2.0.28/includes/checkview-functions.php

    r3444264 r3445770  
    11551155        // Check if the product ID is valid and status is either 'publish' or 'draft'.
    11561156        $updated = 0;
    1157         if ( get_post_type( $product_id ) === 'product' && in_array( $status, array( 'publish', 'draft' ) ) ) {
     1157        $allowed_status = array( 'publish', 'draft' );
     1158
     1159        Checkview_Admin_Logs::add( 'api-logs', 'Updating status of test product [' . $product_id . '] to [' . $status . ']...' );
     1160        if ( get_post_type( $product_id ) === 'product' && in_array( $status, $allowed_status ) ) {
    11581161            // Update the post status.
    11591162            $updated = wp_update_post(
     
    11631166                )
    11641167            );
     1168            delete_transient('checkview_store_products_transient');
     1169            Checkview_Admin_Logs::add( 'api-logs', 'Updated status of test product and cleared product caches.' );
     1170        } else {
     1171            Checkview_Admin_Logs::add( 'api-logs', 'Called [checkview_update_woocommerce_product_status] on invalid post type or with invalid status (accepts ' . implode( ', ', $allowed_status ) . ', got ' . $status . ').' );
    11651172        }
    11661173        return $updated;
  • checkview/tags/2.0.28/includes/class-checkview.php

    r3444264 r3445770  
    8181            $this->version = CHECKVIEW_VERSION;
    8282        } else {
    83             $this->version = '2.0.27';
     83            $this->version = '2.0.28';
    8484        }
    8585        $this->plugin_name = 'checkview';
  • checkview/tags/2.0.28/includes/woocommercehelper/class-checkview-woo-automated-testing.php

    r3335533 r3445770  
    436436            array(
    437437                'name'   => 'CheckView Testing Product',
    438                 'status' => array( 'trash', 'publish' ),
     438                'status' => array( 'trash', 'publish', 'draft' ),
    439439                'limit'  => 1,
    440440                'return' => 'objects',
  • checkview/trunk/README.txt

    r3444264 r3445770  
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
    10 Stable tag: 2.0.27
     10Stable tag: 2.0.28
    1111
    1212[CheckView](https://checkview.io/) automates WordPress form and WooCommerce testing, monitoring key flows to catch failures early before they cost you leads or sales everyday.
     
    205205
    206206== Changelog ==
     207
     208= 2.0.28 =
     209* Allow "draft" status when retrieving store products.
    207210
    208211= 2.0.27 =
     
    523526== Upgrade Notice ==
    524527
     528= 2.0.28 =
     529* Allow "draft" status when retrieving store products.
     530
    525531= 2.0.27 =
    526532* Add support for Fluent Forms fields: Terms and Conditions, GDPR Acceptance.
  • checkview/trunk/checkview.php

    r3444264 r3445770  
    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.27
     14 * Version:           2.0.28
    1515 * Author:            CheckView
    1616 * Author URI:        https://checkview.io/
     
    3636 * @link https://semver.org
    3737 */
    38 define( 'CHECKVIEW_VERSION', '2.0.27' );
     38define( 'CHECKVIEW_VERSION', '2.0.28' );
    3939
    4040if ( ! defined( 'CHECKVIEW_BASE_DIR' ) ) {
  • checkview/trunk/includes/API/class-checkview-api.php

    r3335533 r3445770  
    765765        $args = array(
    766766            'post_type'           => 'product',
    767             'post_status'         => 'publish',
     767            'post_status'         => array( 'publish', 'draft' ),
    768768            'posts_per_page'      => 1000,
    769769            'ignore_sticky_posts' => 1,
  • checkview/trunk/includes/checkview-functions.php

    r3444264 r3445770  
    11551155        // Check if the product ID is valid and status is either 'publish' or 'draft'.
    11561156        $updated = 0;
    1157         if ( get_post_type( $product_id ) === 'product' && in_array( $status, array( 'publish', 'draft' ) ) ) {
     1157        $allowed_status = array( 'publish', 'draft' );
     1158
     1159        Checkview_Admin_Logs::add( 'api-logs', 'Updating status of test product [' . $product_id . '] to [' . $status . ']...' );
     1160        if ( get_post_type( $product_id ) === 'product' && in_array( $status, $allowed_status ) ) {
    11581161            // Update the post status.
    11591162            $updated = wp_update_post(
     
    11631166                )
    11641167            );
     1168            delete_transient('checkview_store_products_transient');
     1169            Checkview_Admin_Logs::add( 'api-logs', 'Updated status of test product and cleared product caches.' );
     1170        } else {
     1171            Checkview_Admin_Logs::add( 'api-logs', 'Called [checkview_update_woocommerce_product_status] on invalid post type or with invalid status (accepts ' . implode( ', ', $allowed_status ) . ', got ' . $status . ').' );
    11651172        }
    11661173        return $updated;
  • checkview/trunk/includes/class-checkview.php

    r3444264 r3445770  
    8181            $this->version = CHECKVIEW_VERSION;
    8282        } else {
    83             $this->version = '2.0.27';
     83            $this->version = '2.0.28';
    8484        }
    8585        $this->plugin_name = 'checkview';
  • checkview/trunk/includes/woocommercehelper/class-checkview-woo-automated-testing.php

    r3335533 r3445770  
    436436            array(
    437437                'name'   => 'CheckView Testing Product',
    438                 'status' => array( 'trash', 'publish' ),
     438                'status' => array( 'trash', 'publish', 'draft' ),
    439439                'limit'  => 1,
    440440                'return' => 'objects',
Note: See TracChangeset for help on using the changeset viewer.