Changeset 3170304
- Timestamp:
- 10/16/2024 07:29:19 PM (18 months ago)
- Location:
- ecwid-shopping-cart
- Files:
-
- 8 edited
- 1 copied
-
tags/6.12.21 (copied) (copied from ecwid-shopping-cart/trunk)
-
tags/6.12.21/ecwid-shopping-cart.php (modified) (3 diffs)
-
tags/6.12.21/includes/class-ecwid-admin-main-page.php (modified) (1 diff)
-
tags/6.12.21/readme.txt (modified) (2 diffs)
-
tags/6.12.21/templates/debug.php (modified) (1 diff)
-
trunk/ecwid-shopping-cart.php (modified) (3 diffs)
-
trunk/includes/class-ecwid-admin-main-page.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/templates/debug.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ecwid-shopping-cart/tags/6.12.21/ecwid-shopping-cart.php
r3162045 r3170304 6 6 Text Domain: ecwid-shopping-cart 7 7 Author: Ecwid Ecommerce 8 Version: 6.12.2 08 Version: 6.12.21 9 9 Author URI: https://ecwid.to/ecwid-site 10 10 License: GPLv2 or later … … 1643 1643 $is_newbie = ecwid_is_demo_store(); 1644 1644 1645 if( !$is_cli_running && $is_wp_playground && !$is_bulk_activation && $is_newbie && $plugin == plugin_basename( __FILE__ ) ) {1645 if( !$is_cli_running && !$is_wp_playground && !$is_bulk_activation && $is_newbie && $plugin == plugin_basename( __FILE__ ) ) { 1646 1646 wp_safe_redirect( Ecwid_Admin::get_dashboard_url() ); 1647 1647 exit(); … … 2989 2989 function ecwid_is_paid_account() 2990 2990 { 2991 return false;2992 2991 if ( Ecwid_Api_V3::is_available() ) { 2993 2992 $api = new Ecwid_Api_V3(); -
ecwid-shopping-cart/tags/6.12.21/includes/class-ecwid-admin-main-page.php
r3118980 r3170304 147 147 }//end if 148 148 149 if ( $result['code'] == 403 ) { 150 Ecwid_Api_V3::save_token( '' ); 149 $need_to_force_show_dashboard = false; 150 151 if ( ! empty( $result ) && $result['code'] == 403 ) { 152 if ( get_option( EcwidPlatform::OPTION_ECWID_CHECK_API_RETRY_AFTER, 0 ) == 0 ) { 153 Ecwid_Api_V3::set_api_status( Ecwid_Api_V3::API_STATUS_ERROR_TOKEN ); 154 Ecwid_Api_V3::save_token( '' ); 155 } else { 156 update_option( EcwidPlatform::OPTION_ECWID_CHECK_API_RETRY_AFTER, time() + 5 * MINUTE_IN_SECONDS ); 157 $need_to_force_show_dashboard = true; 158 } 151 159 } 152 160 153 161 if ( empty( $result['code'] ) && empty( $result['data'] ) || $result['code'] == 500 ) { 154 162 require_once ECWID_PLUGIN_DIR . 'templates/admin-timeout.php'; 155 } elseif ( $result['code'] != 200 ) {163 } elseif ( $result['code'] != 200 && ! $need_to_force_show_dashboard ) { 156 164 if ( ecwid_test_oauth( true ) ) { 157 165 require_once ECWID_PLUGIN_DIR . 'templates/reconnect-sso.php'; -
ecwid-shopping-cart/tags/6.12.21/readme.txt
r3162045 r3170304 6 6 Requires at least: 4.4 7 7 Tested up to: 6.6 8 Stable tag: 6.12.2 08 Stable tag: 6.12.21 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.21 - Oct 16, 2024 = 157 - Fixed issue with Single Sign On (SSO). Single Sign-On allows your customers to have a single login for both your WordPress site and your Ecwid store. If this feature is not working properly after latests release, please update your plugin. 158 - Internal improvements and optimizations. 159 156 160 = 6.12.20 - Oct 3, 2024 = 157 161 - In the "Only featured products" mode, the "Store Home Page" ecommerce block was displayed incorrectly. We've fixed this. -
ecwid-shopping-cart/tags/6.12.21/templates/debug.php
r3149860 r3170304 78 78 <div>Theme identification</div> 79 79 <div><?php echo esc_html( ecwid_get_theme_identification() ); ?></div> 80 </div> 81 <div class="section"> 82 <div>Config URLs matching</div> 83 <div> 84 <p> 85 <?php 86 if ( defined( 'WP_SITEURL' ) ) { 87 echo esc_html( sprintf( 'WP_SITEURL: %s', WP_SITEURL ) ); 88 } else { 89 echo 'WP_SITEURL isn\'t defined'; 90 } 91 ?> 92 </p> 93 <p><?php echo esc_html( sprintf( "Option 'siteurl': %s", get_option( 'siteurl' ) ) ); ?></p> 94 <p><?php echo esc_html( sprintf( 'admin_url(): %s', admin_url() ) ); ?></p> 95 </div> 80 96 </div> 81 97 <div class="section"> -
ecwid-shopping-cart/trunk/ecwid-shopping-cart.php
r3162045 r3170304 6 6 Text Domain: ecwid-shopping-cart 7 7 Author: Ecwid Ecommerce 8 Version: 6.12.2 08 Version: 6.12.21 9 9 Author URI: https://ecwid.to/ecwid-site 10 10 License: GPLv2 or later … … 1643 1643 $is_newbie = ecwid_is_demo_store(); 1644 1644 1645 if( !$is_cli_running && $is_wp_playground && !$is_bulk_activation && $is_newbie && $plugin == plugin_basename( __FILE__ ) ) {1645 if( !$is_cli_running && !$is_wp_playground && !$is_bulk_activation && $is_newbie && $plugin == plugin_basename( __FILE__ ) ) { 1646 1646 wp_safe_redirect( Ecwid_Admin::get_dashboard_url() ); 1647 1647 exit(); … … 2989 2989 function ecwid_is_paid_account() 2990 2990 { 2991 return false;2992 2991 if ( Ecwid_Api_V3::is_available() ) { 2993 2992 $api = new Ecwid_Api_V3(); -
ecwid-shopping-cart/trunk/includes/class-ecwid-admin-main-page.php
r3118980 r3170304 147 147 }//end if 148 148 149 if ( $result['code'] == 403 ) { 150 Ecwid_Api_V3::save_token( '' ); 149 $need_to_force_show_dashboard = false; 150 151 if ( ! empty( $result ) && $result['code'] == 403 ) { 152 if ( get_option( EcwidPlatform::OPTION_ECWID_CHECK_API_RETRY_AFTER, 0 ) == 0 ) { 153 Ecwid_Api_V3::set_api_status( Ecwid_Api_V3::API_STATUS_ERROR_TOKEN ); 154 Ecwid_Api_V3::save_token( '' ); 155 } else { 156 update_option( EcwidPlatform::OPTION_ECWID_CHECK_API_RETRY_AFTER, time() + 5 * MINUTE_IN_SECONDS ); 157 $need_to_force_show_dashboard = true; 158 } 151 159 } 152 160 153 161 if ( empty( $result['code'] ) && empty( $result['data'] ) || $result['code'] == 500 ) { 154 162 require_once ECWID_PLUGIN_DIR . 'templates/admin-timeout.php'; 155 } elseif ( $result['code'] != 200 ) {163 } elseif ( $result['code'] != 200 && ! $need_to_force_show_dashboard ) { 156 164 if ( ecwid_test_oauth( true ) ) { 157 165 require_once ECWID_PLUGIN_DIR . 'templates/reconnect-sso.php'; -
ecwid-shopping-cart/trunk/readme.txt
r3162045 r3170304 6 6 Requires at least: 4.4 7 7 Tested up to: 6.6 8 Stable tag: 6.12.2 08 Stable tag: 6.12.21 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.21 - Oct 16, 2024 = 157 - Fixed issue with Single Sign On (SSO). Single Sign-On allows your customers to have a single login for both your WordPress site and your Ecwid store. If this feature is not working properly after latests release, please update your plugin. 158 - Internal improvements and optimizations. 159 156 160 = 6.12.20 - Oct 3, 2024 = 157 161 - In the "Only featured products" mode, the "Store Home Page" ecommerce block was displayed incorrectly. We've fixed this. -
ecwid-shopping-cart/trunk/templates/debug.php
r3149860 r3170304 78 78 <div>Theme identification</div> 79 79 <div><?php echo esc_html( ecwid_get_theme_identification() ); ?></div> 80 </div> 81 <div class="section"> 82 <div>Config URLs matching</div> 83 <div> 84 <p> 85 <?php 86 if ( defined( 'WP_SITEURL' ) ) { 87 echo esc_html( sprintf( 'WP_SITEURL: %s', WP_SITEURL ) ); 88 } else { 89 echo 'WP_SITEURL isn\'t defined'; 90 } 91 ?> 92 </p> 93 <p><?php echo esc_html( sprintf( "Option 'siteurl': %s", get_option( 'siteurl' ) ) ); ?></p> 94 <p><?php echo esc_html( sprintf( 'admin_url(): %s', admin_url() ) ); ?></p> 95 </div> 80 96 </div> 81 97 <div class="section">
Note: See TracChangeset
for help on using the changeset viewer.