Plugin Directory

Changeset 3282254


Ignore:
Timestamp:
04/26/2025 06:05:04 AM (11 months ago)
Author:
storeplugin
Message:

Version update

Location:
wc-variations-as-single-product
Files:
37 added
3 edited

Legend:

Unmodified
Added
Removed
  • wc-variations-as-single-product/trunk/README.txt

    r3267157 r3282254  
    33Tags: WooCommerce, variations, single product, Single Variations, product variations
    44Requires at least: 4.0
    5 Tested up to: 6.7.2
     5Tested up to: 6.8
    66Requires PHP: 7.0
    7 Stable tag: 4.0.0
     7Stable tag: 4.0.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    134134
    135135== Changelog ==
     136= 4.0.1 =
     137* Fix: Variation ID in metadata issue fixed
     138* Other: Compatible with WordPress 6.8
     139* Other: Compatible with WooCommerce 9.8.2
     140
     141== Changelog ==
    136142= 4.0.0 =
    137143* Enhance: Performance optimized.
  • wc-variations-as-single-product/trunk/includes/class-woo-variations-as-single-product-exclude-products.php

    r3267157 r3282254  
    5959
    6060        // Remove metadata '_wvasp_exclude' for its children
    61         foreach ($variant_ids as $variant_id) {
    62             delete_post_meta($variant_id, '_wvasp_exclude');
     61        if ( ! empty( $variation_ids ) ) {
     62            foreach ($variation_ids as $variation_id) {
     63                delete_post_meta($variation_id, '_wvasp_exclude');
     64            }
    6365        }
    6466    }
  • wc-variations-as-single-product/trunk/wc-variations-as-single-product.php

    r3267157 r3282254  
    1111 * Plugin URI:        https://storeplugin.net/plugins/variations-as-single-product-for-woocommerce/
    1212 * Description:       Show variations as individual products on the Shop page, Product Category page, and Search result page
    13  * Version:           4.0.0
     13 * Version:           4.0.1
    1414 * Author:            StorePlugin
    1515 * Author URI:        https://storeplugin.net
     
    2828 * Currently plugin version.
    2929 */
    30 define( 'WC_VARIATIONS_AS_SINGLE_PRODUCT_VERSION', '4.0.0' );
     30define( 'WC_VARIATIONS_AS_SINGLE_PRODUCT_VERSION', '4.0.1' );
    3131
    3232define( 'WC_VARIATIONS_AS_SINGLE_PRODUCT__FILE', __FILE__ );
Note: See TracChangeset for help on using the changeset viewer.