PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.6.5
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.6.5
1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 1.3.20 1.3.19 trunk All 48 releases
← All changes | app/Hooks/Handlers/MenuHandler.php +6 -1 1.6.2 → 1.6.5 View file →
@@ -19,8 +19,10 @@
19 19 use FluentCart\App\Models\AttributeTerm;
20 20 use FluentCart\App\Models\AttributeGroup;
21 21 use FluentCart\App\Models\ShippingMethod;
22 22 use FluentCart\App\Modules\Tax\TaxModule;
23 +use FluentCart\App\Modules\FluentPlayer\FluentPlayerBridge;
24 +use FluentCart\App\Modules\AdminFooter\AdminFooter;
23 25 use FluentCart\App\Helpers\CurrenciesHelper;
24 26 use FluentCart\App\Services\Filter\TaxFilter;
25 27 use FluentCart\App\Services\Filter\OrderFilter;
26 28 use FluentCart\App\Services\Filter\LicenseFilter;
@@ -32,8 +34,9 @@
32 34 use FluentCart\App\Services\Filter\OrderBumpFilter;
33 35 use FluentCart\App\Modules\Shipping\Services\Filter\ShippingClassFilter;
34 36 use FluentCart\App\Modules\Shipping\Services\Filter\ShippingZoneFilter;
35 37 use FluentCart\App\Modules\Integrations\AddOnModule;
38 +use FluentCart\App\Services\DateTime\DayjsFormatter;
36 39 use FluentCart\App\Services\Translations\TransStrings;
37 40 use FluentCart\App\Services\Permission\PermissionManager;
38 41 use FluentCart\Database\DataBackfills;
39 42 use FluentCart\App\Modules\PaymentMethods\Core\GatewayManager;
@@ -49,8 +52,9 @@
49 52
50 53 if ($page == 'fluent-cart') {
51 54
52 55 \FluentCart\App\Events\FirstTimePluginActivation::handle();
56 + (new AdminFooter())->register();
53 57 add_action('admin_enqueue_scripts', function () {
54 58 Vite::enqueueStyle('fluent_cart_admin_app_css',
55 59 'styles/tailwind/style.css',
56 60 );
@@ -523,8 +527,9 @@
523 527 $appConfig['version'] = FLUENTCART_VERSION;
524 528 $appConfig['permissions'] = PermissionManager::getUserPermissions();
525 529 $appConfig['isProActive'] = App::isProActive();
526 530 $appConfig['proVersion'] = defined('FLUENTCART_PRO_PLUGIN_VERSION') ? FLUENTCART_PRO_PLUGIN_VERSION : null;
531 + $appConfig['fluentPlayer'] = FluentPlayerBridge::adminAppConfig();
527 532
528 533 $appConfig['logos'] = [
529 534 'dark' => Vite::getAssetUrl('images/logo/logo-full-dark.svg'),
530 535 'light' => Vite::getAssetUrl('images/logo/logo-full.svg'),
@@ -594,9 +599,9 @@
594 599 // POSTs data-backfills/run until done; endpoint requires manage_options
595 600 'has_data_migrations' => $hasDataMigrations,
596 601 'subscription_intervals' => Helper::getAvailableSubscriptionIntervalOptions(),
597 602
598 - 'datei18' => TransStrings::dateTimeStrings(),
603 + 'datei18' => DayjsFormatter::localizedStrings(),
599 604 'el_strings' => TransStrings::elStrings(),
600 605 'wp_locale' => get_locale(),
601 606 'is_full_name_required' => CheckoutFieldsSchema::isFullNameRequired(),
602 607 'business_details' => [