| @@ -4,9 +4,9 @@ | ||
| 4 | 4 | * Plugin Name: Better Payment |
| 5 | 5 | * Description: Better Payment allows you to automate payment transactions to manage donations, make payments, sell products, and more on your Elementor and Gutenberg website. |
| 6 | 6 | * Plugin URI: https://wpdeveloper.com/ |
| 7 | 7 | * Author: WPDeveloper |
| 8 | - * Version: 2.4.0 | |
| 8 | + * Version: 2.4.1 | |
| 9 | 9 | * Requires at least: 6.0 |
| 10 | 10 | * Requires PHP: 7.4 |
| 11 | 11 | * Author URI: https://wpdeveloper.com/ |
| 12 | 12 | * Text Domain: better-payment |
| @@ -33,9 +33,9 @@ | ||
| 33 | 33 | * |
| 34 | 34 | * @var string |
| 35 | 35 | * @since 0.0.1 |
| 36 | 36 | */ |
| 37 | - const version = '2.4.0'; | |
| 37 | + const version = '2.4.1'; | |
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | 40 | * Class construcotr |
| 41 | 41 | * |
| @@ -330,8 +330,11 @@ | ||
| 330 | 330 | if (get_option('better_payment_version') != BETTER_PAYMENT_VERSION) { |
| 331 | 331 | better_payment_migrator(); |
| 332 | 332 | update_option('better_payment_version', BETTER_PAYMENT_VERSION); |
| 333 | 333 | } |
| 334 | + | |
| 335 | + // Once per site, not per version: WooCommerce rows written in site time → UTC. | |
| 336 | + Better_Payment\Lite\Classes\PaymentDateMigration::maybe_run(); | |
| 334 | 337 | |
| 335 | 338 | $setup_wizard = get_option('better_payment_setup_wizard'); |
| 336 | 339 | |
| 337 | 340 | if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) { |