| @@ -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' ) ) { |