Changeset 3241777
- Timestamp:
- 02/17/2025 10:01:49 AM (13 months ago)
- Location:
- ecwid-shopping-cart
- Files:
-
- 10 edited
- 1 copied
-
tags/6.12.28 (copied) (copied from ecwid-shopping-cart/trunk)
-
tags/6.12.28/ecwid-shopping-cart.php (modified) (1 diff)
-
tags/6.12.28/includes/class-ecwid-popup-deactivate.php (modified) (2 diffs)
-
tags/6.12.28/includes/class-ecwid-static-page.php (modified) (2 diffs)
-
tags/6.12.28/js/popup-deactivate.js (modified) (1 diff)
-
tags/6.12.28/readme.txt (modified) (2 diffs)
-
trunk/ecwid-shopping-cart.php (modified) (1 diff)
-
trunk/includes/class-ecwid-popup-deactivate.php (modified) (2 diffs)
-
trunk/includes/class-ecwid-static-page.php (modified) (2 diffs)
-
trunk/js/popup-deactivate.js (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ecwid-shopping-cart/tags/6.12.28/ecwid-shopping-cart.php
r3239265 r3241777 6 6 Text Domain: ecwid-shopping-cart 7 7 Author: Ecwid Ecommerce 8 Version: 6.12.2 78 Version: 6.12.28 9 9 Author URI: https://ecwid.to/ecwid-site 10 10 License: GPLv2 or later -
ecwid-shopping-cart/tags/6.12.28/includes/class-ecwid-popup-deactivate.php
r2917250 r3241777 9 9 const OPTION_DISABLE_POPUP = 'ecwid_disable_deactivate_popup'; 10 10 11 const HANDLE_SLUG = 'ecwid-popup-deactivate'; 12 const NONCE_SLUG = 'ecwid-popup-deactivate'; 13 11 14 public function __construct() { 12 15 add_action( 'wp_ajax_ecwid_deactivate_feedback', array( $this, 'ajax_deactivate_feedback' ) ); … … 15 18 public function enqueue_scripts() { 16 19 parent::enqueue_scripts(); 17 wp_enqueue_script( 'ecwid-popup-deactivate', ECWID_PLUGIN_URL . '/js/popup-deactivate.js', array( 'jquery' ), get_option( 'ecwid_plugin_version' ) ); 18 wp_enqueue_style( 'ecwid-popup-deactivate', ECWID_PLUGIN_URL . '/css/popup-deactivate.css', array(), get_option( 'ecwid_plugin_version' ) ); 20 wp_enqueue_script( self::HANDLE_SLUG, ECWID_PLUGIN_URL . '/js/popup-deactivate.js', array( 'jquery' ), get_option( 'ecwid_plugin_version' ) ); 21 wp_enqueue_style( self::HANDLE_SLUG, ECWID_PLUGIN_URL . '/css/popup-deactivate.css', array(), get_option( 'ecwid_plugin_version' ) ); 22 23 wp_localize_script( 24 self::HANDLE_SLUG, 25 'EcwidPopupDeactivate', 26 array( 27 '_ajax_nonce' => wp_create_nonce( self::NONCE_SLUG ), 28 ) 29 ); 19 30 } 20 31 21 32 public function ajax_deactivate_feedback() { 33 if ( ! check_ajax_referer( self::NONCE_SLUG ) ) { 34 die(); 35 } 36 22 37 if ( ! current_user_can( 'manage_options' ) ) { 23 header( '403 Access Denied' );24 25 38 die(); 26 39 } -
ecwid-shopping-cart/tags/6.12.28/includes/class-ecwid-static-page.php
r3239265 r3241777 150 150 if ( self::is_need_to_use_new_endpoint() ) { 151 151 $query_params['getStaticContent'] = 'true'; 152 $query_params['slugsWithoutIds'] = 'false'; 152 153 $query_params['slug'] = self::get_current_storefront_page_slug(); 153 154 … … 468 469 } 469 470 470 if ( get_option( self::OPTION_NEW_IS_ENABLED, self::OPTION_VALUE_AUTO ) === '' && get_ecwid_store_id() % 4=== 0 ) {471 if ( get_option( self::OPTION_NEW_IS_ENABLED, self::OPTION_VALUE_AUTO ) === '' && get_ecwid_store_id() % 2 === 0 ) { 471 472 return true; 472 473 } -
ecwid-shopping-cart/tags/6.12.28/js/popup-deactivate.js
r3183692 r3241777 35 35 action: 'ecwid_deactivate_feedback', 36 36 reason: feedback.reason, 37 message: feedback.message 37 message: feedback.message, 38 _ajax_nonce: EcwidPopupDeactivate._ajax_nonce 38 39 }, 39 40 complete: function () { -
ecwid-shopping-cart/tags/6.12.28/readme.txt
r3239265 r3241777 6 6 Requires at least: 4.4 7 7 Tested up to: 6.7 8 Stable tag: 6.12.2 78 Stable tag: 6.12.28 9 9 10 10 Powerful, easy to use ecommerce shopping cart for WordPress. Sell on Facebook and Instagram. iPhone & Android apps. Superb support. Free plan available. … … 154 154 155 155 == Changelog == 156 = 6.12.28 - Feb 17, 2024 = 157 - In some cases, incorrect URLs could be generated in the storefront. We have fixed this issue. 158 - Plugin code improvements for better security and stability. 159 156 160 = 6.12.27 - Feb 12, 2024 = 157 161 - Fixed an issue in the admin area where the product popup would not work on pages with a custom type. -
ecwid-shopping-cart/trunk/ecwid-shopping-cart.php
r3239265 r3241777 6 6 Text Domain: ecwid-shopping-cart 7 7 Author: Ecwid Ecommerce 8 Version: 6.12.2 78 Version: 6.12.28 9 9 Author URI: https://ecwid.to/ecwid-site 10 10 License: GPLv2 or later -
ecwid-shopping-cart/trunk/includes/class-ecwid-popup-deactivate.php
r2917250 r3241777 9 9 const OPTION_DISABLE_POPUP = 'ecwid_disable_deactivate_popup'; 10 10 11 const HANDLE_SLUG = 'ecwid-popup-deactivate'; 12 const NONCE_SLUG = 'ecwid-popup-deactivate'; 13 11 14 public function __construct() { 12 15 add_action( 'wp_ajax_ecwid_deactivate_feedback', array( $this, 'ajax_deactivate_feedback' ) ); … … 15 18 public function enqueue_scripts() { 16 19 parent::enqueue_scripts(); 17 wp_enqueue_script( 'ecwid-popup-deactivate', ECWID_PLUGIN_URL . '/js/popup-deactivate.js', array( 'jquery' ), get_option( 'ecwid_plugin_version' ) ); 18 wp_enqueue_style( 'ecwid-popup-deactivate', ECWID_PLUGIN_URL . '/css/popup-deactivate.css', array(), get_option( 'ecwid_plugin_version' ) ); 20 wp_enqueue_script( self::HANDLE_SLUG, ECWID_PLUGIN_URL . '/js/popup-deactivate.js', array( 'jquery' ), get_option( 'ecwid_plugin_version' ) ); 21 wp_enqueue_style( self::HANDLE_SLUG, ECWID_PLUGIN_URL . '/css/popup-deactivate.css', array(), get_option( 'ecwid_plugin_version' ) ); 22 23 wp_localize_script( 24 self::HANDLE_SLUG, 25 'EcwidPopupDeactivate', 26 array( 27 '_ajax_nonce' => wp_create_nonce( self::NONCE_SLUG ), 28 ) 29 ); 19 30 } 20 31 21 32 public function ajax_deactivate_feedback() { 33 if ( ! check_ajax_referer( self::NONCE_SLUG ) ) { 34 die(); 35 } 36 22 37 if ( ! current_user_can( 'manage_options' ) ) { 23 header( '403 Access Denied' );24 25 38 die(); 26 39 } -
ecwid-shopping-cart/trunk/includes/class-ecwid-static-page.php
r3239265 r3241777 150 150 if ( self::is_need_to_use_new_endpoint() ) { 151 151 $query_params['getStaticContent'] = 'true'; 152 $query_params['slugsWithoutIds'] = 'false'; 152 153 $query_params['slug'] = self::get_current_storefront_page_slug(); 153 154 … … 468 469 } 469 470 470 if ( get_option( self::OPTION_NEW_IS_ENABLED, self::OPTION_VALUE_AUTO ) === '' && get_ecwid_store_id() % 4=== 0 ) {471 if ( get_option( self::OPTION_NEW_IS_ENABLED, self::OPTION_VALUE_AUTO ) === '' && get_ecwid_store_id() % 2 === 0 ) { 471 472 return true; 472 473 } -
ecwid-shopping-cart/trunk/js/popup-deactivate.js
r3183692 r3241777 35 35 action: 'ecwid_deactivate_feedback', 36 36 reason: feedback.reason, 37 message: feedback.message 37 message: feedback.message, 38 _ajax_nonce: EcwidPopupDeactivate._ajax_nonce 38 39 }, 39 40 complete: function () { -
ecwid-shopping-cart/trunk/readme.txt
r3239265 r3241777 6 6 Requires at least: 4.4 7 7 Tested up to: 6.7 8 Stable tag: 6.12.2 78 Stable tag: 6.12.28 9 9 10 10 Powerful, easy to use ecommerce shopping cart for WordPress. Sell on Facebook and Instagram. iPhone & Android apps. Superb support. Free plan available. … … 154 154 155 155 == Changelog == 156 = 6.12.28 - Feb 17, 2024 = 157 - In some cases, incorrect URLs could be generated in the storefront. We have fixed this issue. 158 - Plugin code improvements for better security and stability. 159 156 160 = 6.12.27 - Feb 12, 2024 = 157 161 - Fixed an issue in the admin area where the product popup would not work on pages with a custom type.
Note: See TracChangeset
for help on using the changeset viewer.