Plugin Directory

Changeset 3108550

Timestamp:
06/27/2024 10:16:31 AM (4 weeks ago)
Author:
azizultex
Message:

Update to version 3.9.5 from GitHub

Location:
stock-sync-with-google-sheet-for-woocommerce
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • stock-sync-with-google-sheet-for-woocommerce/tags/3.9.5/includes/models/class-product.php

    r3107290 r3108550  
    613613
    614614                if ( $product_id ) {
    615                     $product_exists = $wpdb->get_var($wpdb->prepare("SELECT COUNT(*) FROM {$wpdb->posts} WHERE post_type=%s AND ID = %d", 'product', $product_id));
     615                    $product_exists = $wpdb->get_var($wpdb->prepare(
     616                        "SELECT COUNT(*) FROM {$wpdb->posts} WHERE post_type IN (%s, %s) AND ID = %d",
     617                        'product',
     618                        'product_variation',
     619                        $product_id
     620                    ));
    616621                    if ( ! $product_exists ) {
    617622                        continue;
  • stock-sync-with-google-sheet-for-woocommerce/tags/3.9.5/readme.txt

    r3108385 r3108550  
    55Tested up to: 6.5
    66Requires PHP: 5.6
    7 Stable tag: 3.9.4
     7Stable tag: 3.9.
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    157157
    158158== Changelog ==
     159
     160
     161
    159162
    160163= 3.9.4 – 25 June 2024 =
  • stock-sync-with-google-sheet-for-woocommerce/tags/3.9.5/stock-sync-with-google-sheet-for-woocommerce.php

    r3107290 r3108550  
    44 * Plugin URI:              https://wppool.dev/stock-sync-with-google-sheet-for-woocommerce/
    55 * Description:             Sync your WooCommerce product stock with Google Sheets.
    6  * Version:                 3.9.4
     6 * Version:                 3.9.
    77 * Author:                  WPPOOL
    88 * Author URI:              https://wppool.dev/
     
    2525
    2626    // Version.
    27     define( 'SSGSW_VERSION', '3.9.4' );
     27    define( 'SSGSW_VERSION', '3.9.' );
    2828    define( 'SSGSW_ULTD_VERSION', '2.0.6' );
    2929    /**
  • stock-sync-with-google-sheet-for-woocommerce/trunk/includes/models/class-product.php

    r3107290 r3108550  
    613613
    614614                if ( $product_id ) {
    615                     $product_exists = $wpdb->get_var($wpdb->prepare("SELECT COUNT(*) FROM {$wpdb->posts} WHERE post_type=%s AND ID = %d", 'product', $product_id));
     615                    $product_exists = $wpdb->get_var($wpdb->prepare(
     616                        "SELECT COUNT(*) FROM {$wpdb->posts} WHERE post_type IN (%s, %s) AND ID = %d",
     617                        'product',
     618                        'product_variation',
     619                        $product_id
     620                    ));
    616621                    if ( ! $product_exists ) {
    617622                        continue;
  • stock-sync-with-google-sheet-for-woocommerce/trunk/readme.txt

    r3108385 r3108550  
    55Tested up to: 6.5
    66Requires PHP: 5.6
    7 Stable tag: 3.9.4
     7Stable tag: 3.9.
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    157157
    158158== Changelog ==
     159
     160
     161
    159162
    160163= 3.9.4 – 25 June 2024 =
  • stock-sync-with-google-sheet-for-woocommerce/trunk/stock-sync-with-google-sheet-for-woocommerce.php

    r3107290 r3108550  
    44 * Plugin URI:              https://wppool.dev/stock-sync-with-google-sheet-for-woocommerce/
    55 * Description:             Sync your WooCommerce product stock with Google Sheets.
    6  * Version:                 3.9.4
     6 * Version:                 3.9.
    77 * Author:                  WPPOOL
    88 * Author URI:              https://wppool.dev/
     
    2525
    2626    // Version.
    27     define( 'SSGSW_VERSION', '3.9.4' );
     27    define( 'SSGSW_VERSION', '3.9.' );
    2828    define( 'SSGSW_ULTD_VERSION', '2.0.6' );
    2929    /**
Note: See TracChangeset for help on using the changeset viewer.