Plugin Directory

Changeset 3483703


Ignore:
Timestamp:
03/16/2026 10:29:10 AM (2 weeks ago)
Author:
wpcentrics
Message:

uploading new release

Location:
coming-soon-for-woocommerce/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • coming-soon-for-woocommerce/trunk/coming-soon-for-woocommerce.php

    r3479624 r3483703  
    44 * Plugin URI: https://wordpress.org/plugins/coming-soon-for-woocommerce/
    55 * Description: Show coming soon badge over products
    6  * Version: 1.1.1
     6 * Version: 1.1.2
    77 * Author: wpcentrics
    88 * Author URI: https://www.wp-centrics.com
     
    1212 * Tested up to: 6.9
    1313 * WC requires at least: 3.0
    14  * WC tested up to: 10.5.3
     14 * WC tested up to: 10.6.1
    1515 * Requires PHP: 7.0
    1616 * License: GPLv2
     
    3535defined( 'ABSPATH' ) || exit;
    3636
    37 define ('COMING_SOON_WC_VERSION', '1.1.1' );
     37define ('COMING_SOON_WC_VERSION', '1.1.2' );
    3838define ('COMING_SOON_WC_PATH', dirname(__FILE__) . '/' );
    3939define ('COMING_SOON_WC_URL', plugin_dir_url( __FILE__ ) );
     
    342342     *
    343343     * @since 1.0.0
    344      * @version 1.1.1
     344     * @version 1.1.2
    345345     *
    346346     */
    347347
    348348    function product_saved( $WC_Product, $WC_Data_Store_WP )
    349     {   
    350         if( ! wp_verify_nonce( 'coming_soon_wc_nonce', 'csw-product-edition' ) )
     349    {
     350        $nonce = isset( $_POST['coming_soon_wc_nonce'] )
     351            ? sanitize_text_field( wp_unslash( $_POST['coming_soon_wc_nonce'] ) )
     352            : '';
     353
     354        if ( ! wp_verify_nonce($nonce, 'csw-product-edition') )
    351355            return;
    352356
     
    569573.coming_soon_wc_".$purpose."_wrapper .coming_soon_text {
    570574    position:absolute;
    571     z-index: 1;
     575    z-index: 1000;
    572576    display: flex;
    573577    justify-content: center;
     
    646650.coming_soon_wc_".$purpose."_wrapper .coming_soon_img {
    647651    position: absolute;
    648     z-index: 1;
     652    z-index: 1000;
    649653    left: 0;
    650654    right: 0;
  • coming-soon-for-woocommerce/trunk/readme.txt

    r3479624 r3483703  
    66Tested up to: 6.9
    77WC requires at least: 3.0
    8 WC tested up to: 10.5.3
    9 Stable tag: 1.1.1
     8WC tested up to: 10.6.1
     9Stable tag: 1.1.2
    1010Requires PHP: 7.0
    1111Requires Plugins: woocommerce
     
    129129
    130130== Changelog ==
     131
     132= 1.1.2 - 2026-03-16 =
     133* Fixed: Bug saving the "Show Coming Soon badge" checkbox in product page
     134* Checked for WooCommerce 10.6.1
    131135
    132136= 1.1.1 - 2026-03-11 =
Note: See TracChangeset for help on using the changeset viewer.