| @@ -254,9 +254,9 @@ | ||
| 254 | 254 | |
| 255 | 255 | if (!defined('FLUENT_SUPPORT_PRO_DIR_FILE')) { |
| 256 | 256 | $secondaryItems[] = [ |
| 257 | 257 | 'key' => 'upgrade_to_pro', |
| 258 | - 'label' => 'Upgrade to Pro', | |
| 258 | + 'label' => __('Upgrade to Pro', 'fluent-support'), | |
| 259 | 259 | 'permalink' => Helper::getUpgradeUrl('sidebar_cta') |
| 260 | 260 | ]; |
| 261 | 261 | } |
| 262 | 262 | |
| @@ -324,9 +324,9 @@ | ||
| 324 | 324 | add_action('admin_head', function () { |
| 325 | 325 | Vite::injectViteClient(); |
| 326 | 326 | }, 1); |
| 327 | 327 | |
| 328 | - wp_enqueue_script('dompurify', $assets . 'libs/purify/purify.min.js', [], '3.4.13'); | |
| 328 | + wp_enqueue_script('dompurify', $assets . 'libs/purify/purify.min.js', [], '3.4.16'); | |
| 329 | 329 | |
| 330 | 330 | if (is_rtl()) { |
| 331 | 331 | wp_enqueue_style('fluent_support_admin_app_rtl', $assets . 'admin/css/alpha-admin-rtl.css', [], FLUENT_SUPPORT_VERSION); |
| 332 | 332 | } else { |
| @@ -464,9 +464,10 @@ | ||
| 464 | 464 | 'go_back_after_reply' => 'yes' |
| 465 | 465 | ], |
| 466 | 466 | 'notification_integrations' => $integrationDrivers, |
| 467 | 467 | 'internal_notification_settings' => (new NotificationSettings())->get(false), |
| 468 | - 'server_time' => gmdate('Y-m-d\TH:i:sP'), | |
| 468 | + // Site time, like every date the API sends; relative times compare the two. | |
| 469 | + 'server_time' => current_time('mysql'), | |
| 469 | 470 | 'has_email_parser' => defined('FLUENTSUPPORTPRO_PLUGIN_VERSION'), |
| 470 | 471 | 'ticket_tags' => $tags, |
| 471 | 472 | 'i18n' => $i18ns, |
| 472 | 473 | 'custom_fields' => apply_filters('fluent_support/ticket_custom_fields', []), |