Plugin Directory

Changeset 3412084


Ignore:
Timestamp:
12/05/2025 11:06:09 AM (3 months ago)
Author:
webtoffee
Message:

2.4.8

  • [Compatibility] – Tested OK with WooCommerce 10.3.6
  • [Compatibility] – Tested OK with WordPress 6.9
Location:
comments-import-export-woocommerce
Files:
140 added
4 edited

Legend:

Unmodified
Added
Removed
  • comments-import-export-woocommerce/trunk/changelog.txt

    r3391740 r3412084  
    11
    22== Changelog ==
     3
     4= 2.4.8 2025-12-05 =
     5* [Compatibility] – Tested OK with WooCommerce 10.3.6
     6* [Compatibility] – Tested OK with WordPress 6.9
    37
    48= 2.4.7 2025-11-07 =
  • comments-import-export-woocommerce/trunk/hf-comments-import-export.php

    r3391740 r3412084  
    77 * Author: WebToffee
    88 * Author URI: https://www.webtoffee.com/
    9  * Version: 2.4.7
     9 * Version: 2.4.8
    1010 * Text Domain: comments-import-export-woocommerce
    1111 * License: GPLv3
     
    2828if (!defined('WBTE_CMT_IMP_EXP_VERSION')) {
    2929
    30     define("WBTE_CMT_IMP_EXP_VERSION", "2.4.7");
     30    define("WBTE_CMT_IMP_EXP_VERSION", "2.4.8");
    3131}
    3232
  • comments-import-export-woocommerce/trunk/includes/importer/class-hf_cmt_impexpcsv-import.php

    r3359804 r3412084  
    756756
    757757
    758         $query = "SELECT ID FROM $wpdb->posts WHERE ID = %d AND post_type=%s"; // comment_status removed from query for importing post which has comment_status is closed.
     758        $query = "SELECT ID FROM $wpdb->posts WHERE ID = %d AND post_type IN ('post', 'product')";
    759759        $placeholder_arr = array( $id );
    760         $placeholder_arr[] = $cmd_type === 'comment' ? 'post' : 'product';
     760       
    761761        $query = apply_filters( 'wt_cmt_imp_post_exists_query', $query, $placeholder_arr );
    762762        if (is_array($args) && !empty($args)) {
     
    771771       
    772772        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    773         $posts_that_exist = $wpdb->get_col( $wpdb->prepare( $query, $placeholder_arr ) ); // @codingStandardsIgnoreLine.
     773        $posts_that_exist = $wpdb->get_col( call_user_func_array( array( $wpdb, 'prepare' ), array_merge( array( $query ), $placeholder_arr ) ) ); // @codingStandardsIgnoreLine.
    774774        return ( ! $posts_that_exist );
    775775    }
  • comments-import-export-woocommerce/trunk/readme.txt

    r3391740 r3412084  
    44Tags: comments import, comments export, wordpress comments, wordpress comments import, wordpress comments export.
    55Requires at least: 3.0.1
    6 Tested up to: 6.8
     6Tested up to: 6.9
    77Requires PHP: 7.0
    8 Stable tag: 2.4.7
     8Stable tag: 2.4.8
    99License: GPLv3
    1010License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    9191
    9292== Changelog ==
     93= 2.4.8 2025-12-05 =
     94* [Compatibility] – Tested OK with WooCommerce 10.3.6
     95* [Compatibility] – Tested OK with WordPress 6.9
     96
    9397= 2.4.7 2025-11-07 =
    9498* [Compatibility] – Tested OK with WooCommerce 10.3.4
     
    104108== Upgrade Notice ==
    105109
    106 = 2.4.7 =
    107 * [Compatibility] – Tested OK with WooCommerce 10.3.4
    108 * [Improvement] Security Improvements.
     110= 2.4.8 =
     111* [Compatibility] – Tested OK with WooCommerce 10.3.6
     112* [Compatibility] – Tested OK with WordPress 6.9
Note: See TracChangeset for help on using the changeset viewer.