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 +7 -29 2.3.3 → 2.4.1 View file →
@@ -233,37 +233,8 @@
233 233 .auto-fold .better-payment-admin {
234 234 margin-left: -2px;
235 235 }
236 236 }
237 -
238 - @media print {
239 - body {
240 - transform: scale(1);
241 - background: white !important;
242 - }
243 -
244 - body, body *, .wpcontent {
245 - visibility: hidden !important;
246 - }
247 -
248 - .bp-invoice-body,
249 - .bp-invoice-body * {
250 - visibility: visible !important;
251 - }
252 -
253 - /* Make modal fill the full page */
254 - .bp-invoice-body {
255 - position: absolute !important;
256 - left: 0;
257 - top: 100;
258 - width: 100% !important;
259 - height: auto !important;
260 - }
261 -
262 - .bp-button-wrapper {
263 - display: none !important;
264 - }
265 - }
266 237 </style>
267 238 <?php
268 239 }
269 240
@@ -298,8 +269,12 @@
298 269 // Picker-facing, so retired designs stay out of it. The renderer
299 270 // still needs get_all(); see TemplateManager::get_for_picker().
300 271 'campaignTemplates' => array_values( TemplateManager::get_for_picker() ),
301 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(),
302 277 ];
303 278 }
304 279
305 280 /**
@@ -426,8 +401,11 @@
426 401 $admin_css_file,
427 402 [],
428 403 $this->file_version
429 404 );
405 +
406 + // Styles for the screens only Pro renders (receipt modal, Analytics, refund card,
407 + // licence page) ship with Better Payment Pro, which depends on this handle.
430 408
431 409 // Campaign-list CSS contains the template-select modal styles needed on this page too.
432 410 $campaign_list_css = BETTER_PAYMENT_ASSETS . '/admin/campaign-list/campaign-list.min.css';
433 411 if ( file_exists( BETTER_PAYMENT_PATH . '/assets/admin/campaign-list/campaign-list.min.css' ) ) {