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 | includes/Admin/ReactAdmin.php +5 -2 2.4.0 → 2.4.1 View file →
@@ -269,8 +269,12 @@
269 269 // Picker-facing, so retired designs stay out of it. The renderer
270 270 // still needs get_all(); see TemplateManager::get_for_picker().
271 271 'campaignTemplates' => array_values( TemplateManager::get_for_picker() ),
272 272 'adminBaseUrl' => admin_url(),
273 + // How `payment_date` (UTC) is shown: the site's timezone, an IANA name or a
274 + // fixed offset such as `+06:00` (never '' — the `timezone_string` option is
275 + // empty on a site set to a manual UTC offset).
276 + 'siteTimezone' => wp_timezone_string(),
273 277 ];
274 278 }
275 279
276 280 /**
@@ -399,10 +403,9 @@
399 403 $this->file_version
400 404 );
401 405
402 406 // Styles for the screens only Pro renders (receipt modal, Analytics, refund card,
403 - // licence page): Lite's copy until Pro declares `react_admin_pro_styles`.
404 - \Better_Payment\Lite\Classes\ProAdminStyles::enqueue( $this->file_version );
407 + // licence page) ship with Better Payment Pro, which depends on this handle.
405 408
406 409 // Campaign-list CSS contains the template-select modal styles needed on this page too.
407 410 $campaign_list_css = BETTER_PAYMENT_ASSETS . '/admin/campaign-list/campaign-list.min.css';
408 411 if ( file_exists( BETTER_PAYMENT_PATH . '/assets/admin/campaign-list/campaign-list.min.css' ) ) {