PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 2.10.01
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v2.10.01
2.11.0 2.10.0 2.10.01 2.9.1 2.9.0 2.8.1 2.8.0 2.7.7 2.7.5 2.7.0 2.6.01 2.6.0 2.5.0 2.4.01 trunk 1.0.90 1.0.91 1.0.92 1.0.93 1.0.94 1.0.95 1.0.96 1.0.97 1.0.98 1.0.99 All 78 releases
← All changes | app/Hooks/Handlers/PortalSettingsHandler.php +3 -3 2.7.0 → 2.10.01 View file →
@@ -184,10 +184,9 @@
184 184 }, 10, 2);
185 185
186 186 wp_enqueue_script('fluent_community_onboarding', Vite::getDynamicSrcUrl('Onboarding/onboarding.js'), ['jquery'], FLUENT_COMMUNITY_PLUGIN_VERSION, [
187 187 'in_footer' => true,
188 - 'strategy' => 'defer',
189 - 'type' => 'module'
188 + 'strategy' => 'defer'
190 189 ]);
191 190
192 191 wp_localize_script('fluent_community_onboarding', 'fluentComAdmin', [
193 192 'ajaxurl' => admin_url('admin-ajax.php'),
@@ -199,13 +198,14 @@
199 198 ],
200 199 'i18n' => AdminTransStrings::getStrings(),
201 200 'logo' => Helper::assetUrl('images/logo.png'),
202 201 'is_admin' => Helper::isSiteAdmin(),
202 + 'is_super_admin' => Helper::isSuperAdmin(),
203 203 'is_onboarded' => !!Utility::getOption('onboarding_sub_settings'),
204 204 'permalink_structure' => get_option('permalink_structure'),
205 205 'is_slug_defined' => defined('FLUENT_COMMUNITY_PORTAL_SLUG'),
206 206 'has_pro' => defined('FLUENT_COMMUNITY_PRO_VERSION'),
207 - 'upgrade_url' => Utility::getProductUrl(false),
207 + 'upgrade_url' => Utility::getProUpgradeUrl('upgrade_page'),
208 208 'settings_page_url' => admin_url('admin.php?page=fluent-community'),
209 209 'is_license_page' => isset($_GET['license']) && $_GET['license'] === 'yes', // phpcs:ignore WordPress.Security.NonceVerification.Recommended
210 210 'license_url_page' => defined('FLUENT_COMMUNITY_PRO_VERSION') ? admin_url('admin.php?page=fluent-community&license=yes') : '',
211 211 ]);