PluginProbe
Better Payment – Instant Payments, Donations, Fundraising with Subscriptions & More / 2.4.1
Better Payment – Instant Payments, Donations, Fundraising with Subscriptions & More v2.4.1
2.4.1 2.4.0 2.3.4 2.3.3 2.3.2 2.3.1 2.3.0 2.2.2 2.2.1 2.2.0 2.1.2 2.1.1 trunk 0.0.1 0.0.2 0.0.3 0.0.4 0.0.5 0.0.6 0.0.7 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 All 68 releases
← All changes | better-payment.php +8 -6 2.3.4 → 2.4.1 View file →
@@ -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.3.4
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.3.4';
37 + const version = '2.4.1';
38 38
39 39 /**
40 40 * Class construcotr
41 41 *
@@ -124,16 +124,15 @@
124 124 */
125 125 public function init_plugin() {
126 126 new Better_Payment\Lite\Assets();
127 127
128 - if (defined('DOING_AJAX') && DOING_AJAX) {
129 - new Better_Payment\Lite\Ajax();
130 - }
131 -
132 128 if (is_admin()) {
133 129 $adminObj = new Better_Payment\Lite\Admin();
134 130 $adminObj->init();
135 131
132 + // Warn when the installed Pro predates what this Lite supports.
133 + Better_Payment\Lite\Classes\ProCompatibility::register();
134 +
136 135 if ( !$this->bp_section_dismissed() ) {
137 136 add_action('save_post', array($this, 'bp_widget_usage_on_save'), 10, 1);
138 137 }
139 138 } else {
@@ -331,8 +330,11 @@
331 330 if (get_option('better_payment_version') != BETTER_PAYMENT_VERSION) {
332 331 better_payment_migrator();
333 332 update_option('better_payment_version', BETTER_PAYMENT_VERSION);
334 333 }
334 +
335 + // Once per site, not per version: WooCommerce rows written in site time → UTC.
336 + Better_Payment\Lite\Classes\PaymentDateMigration::maybe_run();
335 337
336 338 $setup_wizard = get_option('better_payment_setup_wizard');
337 339
338 340 if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {