Changeset 3483703
- Timestamp:
- 03/16/2026 10:29:10 AM (2 weeks ago)
- Location:
- coming-soon-for-woocommerce/trunk
- Files:
-
- 2 edited
-
coming-soon-for-woocommerce.php (modified) (6 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
coming-soon-for-woocommerce/trunk/coming-soon-for-woocommerce.php
r3479624 r3483703 4 4 * Plugin URI: https://wordpress.org/plugins/coming-soon-for-woocommerce/ 5 5 * Description: Show coming soon badge over products 6 * Version: 1.1. 16 * Version: 1.1.2 7 7 * Author: wpcentrics 8 8 * Author URI: https://www.wp-centrics.com … … 12 12 * Tested up to: 6.9 13 13 * WC requires at least: 3.0 14 * WC tested up to: 10. 5.314 * WC tested up to: 10.6.1 15 15 * Requires PHP: 7.0 16 16 * License: GPLv2 … … 35 35 defined( 'ABSPATH' ) || exit; 36 36 37 define ('COMING_SOON_WC_VERSION', '1.1. 1' );37 define ('COMING_SOON_WC_VERSION', '1.1.2' ); 38 38 define ('COMING_SOON_WC_PATH', dirname(__FILE__) . '/' ); 39 39 define ('COMING_SOON_WC_URL', plugin_dir_url( __FILE__ ) ); … … 342 342 * 343 343 * @since 1.0.0 344 * @version 1.1. 1344 * @version 1.1.2 345 345 * 346 346 */ 347 347 348 348 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') ) 351 355 return; 352 356 … … 569 573 .coming_soon_wc_".$purpose."_wrapper .coming_soon_text { 570 574 position:absolute; 571 z-index: 1 ;575 z-index: 1000; 572 576 display: flex; 573 577 justify-content: center; … … 646 650 .coming_soon_wc_".$purpose."_wrapper .coming_soon_img { 647 651 position: absolute; 648 z-index: 1 ;652 z-index: 1000; 649 653 left: 0; 650 654 right: 0; -
coming-soon-for-woocommerce/trunk/readme.txt
r3479624 r3483703 6 6 Tested up to: 6.9 7 7 WC requires at least: 3.0 8 WC tested up to: 10. 5.39 Stable tag: 1.1. 18 WC tested up to: 10.6.1 9 Stable tag: 1.1.2 10 10 Requires PHP: 7.0 11 11 Requires Plugins: woocommerce … … 129 129 130 130 == 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 131 135 132 136 = 1.1.1 - 2026-03-11 =
Note: See TracChangeset
for help on using the changeset viewer.