Changeset 3211100
- Timestamp:
- 12/20/2024 01:57:12 PM (15 months ago)
- Location:
- order-sync-with-google-sheets-for-woocommerce
- Files:
-
- 8 edited
- 1 copied
-
tags/1.11.2 (copied) (copied from order-sync-with-google-sheets-for-woocommerce/trunk)
-
tags/1.11.2/includes/classes/class-popup.php (modified) (4 diffs)
-
tags/1.11.2/order-sync-with-google-sheets-for-woocommerce.php (modified) (2 diffs)
-
tags/1.11.2/readme.txt (modified) (2 diffs)
-
tags/1.11.2/report.txt (modified) (previous)
-
trunk/includes/classes/class-popup.php (modified) (4 diffs)
-
trunk/order-sync-with-google-sheets-for-woocommerce.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/report.txt (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
order-sync-with-google-sheets-for-woocommerce/tags/1.11.2/includes/classes/class-popup.php
r3201033 r3211100 27 27 class Popup { 28 28 29 /**30 * Time of banner install.31 *32 * @var int33 */29 /** 30 * Time of banner install. 31 * 32 * @var int 33 */ 34 34 protected $osgsw_install_time; 35 35 … … 57 57 $this->osgsw_update_notice = get_option( 'osgsw_update_notice' ); 58 58 $this->current_dir = dirname( __DIR__ ); 59 add_action( 'admin_init', [ $this, 'osgsw_show_popup' ] );59 // add_action( 'admin_init', [ $this, 'osgsw_show_popup' ] ); 60 60 add_action( 'wp_ajax_osgsw_popup_handle', [ $this, 'handle_popup' ] ); 61 61 } … … 98 98 } else { 99 99 $days_elapsed = floor( ( time() - $this->osgsw_install_time ) / ( 60 * 60 * 24 ) ); 100 100 101 $days_update_elapsed = floor( ( time() - absint( $this->osgsw_update_notice ) ) / ( 60 * 60 * 24 ) ); 101 if ( ( $days_elapsed >= intval( $days_count ) && ( '0' == =$days_count || '7' === $days_count || '14' === $days_count ) ) ) {102 if ( ( $days_elapsed >= intval( $days_count ) && ( '0' == $days_count || '7' === $days_count || '14' === $days_count ) ) ) { 102 103 add_action( 'admin_footer', [ $this, 'osgsw_rating_popup' ] ); 103 104 } … … 150 151 <div class="osgsw-days-dropdown"> 151 152 <div class="selected-option" data-days="7"><?php esc_html_e( '7 Days', 'order-sync-with-google-sheets-for-woocommerce' ); ?></div> 152 <ul class="o sgsw_options">153 <ul class="options"> 153 154 <li data-value="7"><?php esc_html_e( '7 Days', 'order-sync-with-google-sheets-for-woocommerce' ); ?></li> 154 155 <li data-value="14"><?php esc_html_e( '14 Days', 'order-sync-with-google-sheets-for-woocommerce' ); ?></li> -
order-sync-with-google-sheets-for-woocommerce/tags/1.11.2/order-sync-with-google-sheets-for-woocommerce.php
r3210299 r3211100 4 4 * Plugin URI: https://wcordersync.com/ 5 5 * Description: Sync WooCommerce orders with Google Sheets. Perform WooCommerce order sync, e-commerce order management and sales order management from Google Sheets. 6 * Version: 1.11. 16 * Version: 1.11.2 7 7 * Author: WC Order Sync 8 8 * Author URI: https://wcordersync.com/ … … 21 21 */ 22 22 define( 'OSGSW_FILE', __FILE__ ); 23 define( 'OSGSW_VERSION', '1.11. 1' );23 define( 'OSGSW_VERSION', '1.11.2' ); 24 24 /** 25 25 * Loading base file -
order-sync-with-google-sheets-for-woocommerce/tags/1.11.2/readme.txt
r3210299 r3211100 5 5 Tested up to: 6.7 6 6 Requires PHP: 5.6 7 Stable tag: 1.11. 17 Stable tag: 1.11.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 152 152 == Changelog == 153 153 154 = 1.11.2 - 20 Dec 2024 = 155 * **Fix**: Updated rating popup module 156 154 157 = 1.11.1 - 19 Dec 2024 = 155 158 * **Fix**: Updated the settings UI by eliminating duplicate SKU options. -
order-sync-with-google-sheets-for-woocommerce/trunk/includes/classes/class-popup.php
r3201033 r3211100 27 27 class Popup { 28 28 29 /**30 * Time of banner install.31 *32 * @var int33 */29 /** 30 * Time of banner install. 31 * 32 * @var int 33 */ 34 34 protected $osgsw_install_time; 35 35 … … 57 57 $this->osgsw_update_notice = get_option( 'osgsw_update_notice' ); 58 58 $this->current_dir = dirname( __DIR__ ); 59 add_action( 'admin_init', [ $this, 'osgsw_show_popup' ] );59 // add_action( 'admin_init', [ $this, 'osgsw_show_popup' ] ); 60 60 add_action( 'wp_ajax_osgsw_popup_handle', [ $this, 'handle_popup' ] ); 61 61 } … … 98 98 } else { 99 99 $days_elapsed = floor( ( time() - $this->osgsw_install_time ) / ( 60 * 60 * 24 ) ); 100 100 101 $days_update_elapsed = floor( ( time() - absint( $this->osgsw_update_notice ) ) / ( 60 * 60 * 24 ) ); 101 if ( ( $days_elapsed >= intval( $days_count ) && ( '0' == =$days_count || '7' === $days_count || '14' === $days_count ) ) ) {102 if ( ( $days_elapsed >= intval( $days_count ) && ( '0' == $days_count || '7' === $days_count || '14' === $days_count ) ) ) { 102 103 add_action( 'admin_footer', [ $this, 'osgsw_rating_popup' ] ); 103 104 } … … 150 151 <div class="osgsw-days-dropdown"> 151 152 <div class="selected-option" data-days="7"><?php esc_html_e( '7 Days', 'order-sync-with-google-sheets-for-woocommerce' ); ?></div> 152 <ul class="o sgsw_options">153 <ul class="options"> 153 154 <li data-value="7"><?php esc_html_e( '7 Days', 'order-sync-with-google-sheets-for-woocommerce' ); ?></li> 154 155 <li data-value="14"><?php esc_html_e( '14 Days', 'order-sync-with-google-sheets-for-woocommerce' ); ?></li> -
order-sync-with-google-sheets-for-woocommerce/trunk/order-sync-with-google-sheets-for-woocommerce.php
r3210299 r3211100 4 4 * Plugin URI: https://wcordersync.com/ 5 5 * Description: Sync WooCommerce orders with Google Sheets. Perform WooCommerce order sync, e-commerce order management and sales order management from Google Sheets. 6 * Version: 1.11. 16 * Version: 1.11.2 7 7 * Author: WC Order Sync 8 8 * Author URI: https://wcordersync.com/ … … 21 21 */ 22 22 define( 'OSGSW_FILE', __FILE__ ); 23 define( 'OSGSW_VERSION', '1.11. 1' );23 define( 'OSGSW_VERSION', '1.11.2' ); 24 24 /** 25 25 * Loading base file -
order-sync-with-google-sheets-for-woocommerce/trunk/readme.txt
r3210299 r3211100 5 5 Tested up to: 6.7 6 6 Requires PHP: 5.6 7 Stable tag: 1.11. 17 Stable tag: 1.11.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 152 152 == Changelog == 153 153 154 = 1.11.2 - 20 Dec 2024 = 155 * **Fix**: Updated rating popup module 156 154 157 = 1.11.1 - 19 Dec 2024 = 155 158 * **Fix**: Updated the settings UI by eliminating duplicate SKU options.
Note: See TracChangeset
for help on using the changeset viewer.