Changeset 3455196
- Timestamp:
- 02/06/2026 08:04:45 AM (8 weeks ago)
- Location:
- clonable
- Files:
-
- 136 added
- 14 edited
-
tags/2.9.2 (added)
-
tags/2.9.2/Bootstrap.php (added)
-
tags/2.9.2/clonable-wp.php (added)
-
tags/2.9.2/controllers (added)
-
tags/2.9.2/controllers/Controller.php (added)
-
tags/2.9.2/controllers/DashboardController.php (added)
-
tags/2.9.2/controllers/EmailTranslationsController.php (added)
-
tags/2.9.2/controllers/LandingPageController.php (added)
-
tags/2.9.2/controllers/LanguageSwitcherController.php (added)
-
tags/2.9.2/controllers/LanguageTagController.php (added)
-
tags/2.9.2/controllers/SettingController.php (added)
-
tags/2.9.2/controllers/WoocommerceController.php (added)
-
tags/2.9.2/controllers/index.php (added)
-
tags/2.9.2/exceptions (added)
-
tags/2.9.2/exceptions/ApiException.php (added)
-
tags/2.9.2/exceptions/CurlException.php (added)
-
tags/2.9.2/exceptions/ValidationException.php (added)
-
tags/2.9.2/helpers (added)
-
tags/2.9.2/helpers/Functions.php (added)
-
tags/2.9.2/helpers/Html.php (added)
-
tags/2.9.2/helpers/Json.php (added)
-
tags/2.9.2/helpers/Locales.php (added)
-
tags/2.9.2/helpers/MultiCurrency.php (added)
-
tags/2.9.2/helpers/Session.php (added)
-
tags/2.9.2/helpers/TextTranslator.php (added)
-
tags/2.9.2/helpers/UrlTranslator.php (added)
-
tags/2.9.2/helpers/clonable-locales-list.php (added)
-
tags/2.9.2/helpers/index.php (added)
-
tags/2.9.2/images (added)
-
tags/2.9.2/images/Logo_Icon_white.png (added)
-
tags/2.9.2/images/Logo_Icon_white.svg (added)
-
tags/2.9.2/images/clonable-full-logo.png (added)
-
tags/2.9.2/images/clonable.png (added)
-
tags/2.9.2/images/configure-wordpress-thumbnail.png (added)
-
tags/2.9.2/images/flags.png (added)
-
tags/2.9.2/images/index.php (added)
-
tags/2.9.2/images/language-switcher-thumbnail.png (added)
-
tags/2.9.2/index.php (added)
-
tags/2.9.2/middleware (added)
-
tags/2.9.2/middleware/Auth.php (added)
-
tags/2.9.2/middleware/ClonedSite.php (added)
-
tags/2.9.2/middleware/MiddlewareHandler.php (added)
-
tags/2.9.2/middleware/MiddlewareInterface.php (added)
-
tags/2.9.2/middleware/WooCommerce.php (added)
-
tags/2.9.2/middleware/index.php (added)
-
tags/2.9.2/models (added)
-
tags/2.9.2/models/ApiKey.php (added)
-
tags/2.9.2/models/ClonableWooCommerce.php (added)
-
tags/2.9.2/models/ClonedSite.php (added)
-
tags/2.9.2/models/EmailTranslations.php (added)
-
tags/2.9.2/models/LanguageSwitcher.php (added)
-
tags/2.9.2/models/LanguageTag.php (added)
-
tags/2.9.2/models/Settings.php (added)
-
tags/2.9.2/models/Site.php (added)
-
tags/2.9.2/models/index.php (added)
-
tags/2.9.2/objects (added)
-
tags/2.9.2/objects/ApiResponse.php (added)
-
tags/2.9.2/objects/CircuitBreaker.php (added)
-
tags/2.9.2/objects/ClonableConfig.php (added)
-
tags/2.9.2/objects/ClonableResponse.php (added)
-
tags/2.9.2/objects/CurlBuilder.php (added)
-
tags/2.9.2/objects/ExcludedProductTerm.php (added)
-
tags/2.9.2/objects/Notification.php (added)
-
tags/2.9.2/objects/index.php (added)
-
tags/2.9.2/readme-da_DK.txt (added)
-
tags/2.9.2/readme-de_DE.txt (added)
-
tags/2.9.2/readme-es_ES.txt (added)
-
tags/2.9.2/readme-fr_FR.txt (added)
-
tags/2.9.2/readme-it_IT.txt (added)
-
tags/2.9.2/readme-nb_NO.txt (added)
-
tags/2.9.2/readme-nl_NL.txt (added)
-
tags/2.9.2/readme-sv_SE.txt (added)
-
tags/2.9.2/readme.txt (added)
-
tags/2.9.2/routes (added)
-
tags/2.9.2/routes/Router.php (added)
-
tags/2.9.2/routes/index.php (added)
-
tags/2.9.2/services (added)
-
tags/2.9.2/services/AdminUIService.php (added)
-
tags/2.9.2/services/AllowedHostsService.php (added)
-
tags/2.9.2/services/ApiService.php (added)
-
tags/2.9.2/services/CacheService.php (added)
-
tags/2.9.2/services/ClonableWooCommerceService.php (added)
-
tags/2.9.2/services/EmailTranslationsService.php (added)
-
tags/2.9.2/services/LanguageSwitcherService.php (added)
-
tags/2.9.2/services/LanguageTagService.php (added)
-
tags/2.9.2/services/LocaleService.php (added)
-
tags/2.9.2/services/MultiCurrencyService.php (added)
-
tags/2.9.2/services/ShortCodeService.php (added)
-
tags/2.9.2/services/SubfolderService.php (added)
-
tags/2.9.2/services/SyncService.php (added)
-
tags/2.9.2/services/index.php (added)
-
tags/2.9.2/services/modules (added)
-
tags/2.9.2/services/modules/DataPanelModule.php (added)
-
tags/2.9.2/services/modules/ExclusionModule.php (added)
-
tags/2.9.2/services/modules/ProductImporterModule.php (added)
-
tags/2.9.2/services/modules/TaxonomyModule.php (added)
-
tags/2.9.2/services/modules/index.php (added)
-
tags/2.9.2/traits (added)
-
tags/2.9.2/traits/Forms.php (added)
-
tags/2.9.2/traits/PluginCheck.php (added)
-
tags/2.9.2/traits/Validation.php (added)
-
tags/2.9.2/traits/index.php (added)
-
tags/2.9.2/uninstall.php (added)
-
tags/2.9.2/views (added)
-
tags/2.9.2/views/DashboardView.php (added)
-
tags/2.9.2/views/EmailTranslationsView.php (added)
-
tags/2.9.2/views/LanguageSwitcherView.php (added)
-
tags/2.9.2/views/LanguageTagView.php (added)
-
tags/2.9.2/views/Layout.php (added)
-
tags/2.9.2/views/OnboardingView.php (added)
-
tags/2.9.2/views/SettingsView.php (added)
-
tags/2.9.2/views/ViewInterface.php (added)
-
tags/2.9.2/views/WoocommerceView.php (added)
-
tags/2.9.2/views/css (added)
-
tags/2.9.2/views/css/clonable-admin-bar.css (added)
-
tags/2.9.2/views/css/clonable-extra-button.css (added)
-
tags/2.9.2/views/css/clonable-global.css (added)
-
tags/2.9.2/views/css/clonable-language-switcher.css (added)
-
tags/2.9.2/views/css/clonable-thumbnails.css (added)
-
tags/2.9.2/views/css/clonable-woocommerce.css (added)
-
tags/2.9.2/views/css/clonable.css (added)
-
tags/2.9.2/views/css/fomantic-dropdown.css (added)
-
tags/2.9.2/views/css/fomantic-transition.css (added)
-
tags/2.9.2/views/css/freakflags.css (added)
-
tags/2.9.2/views/css/index.php (added)
-
tags/2.9.2/views/index.php (added)
-
tags/2.9.2/views/scripts (added)
-
tags/2.9.2/views/scripts/alpine.js (added)
-
tags/2.9.2/views/scripts/dohjs.js (added)
-
tags/2.9.2/views/scripts/email-translations.js (added)
-
tags/2.9.2/views/scripts/fomantic-dropdown.js (added)
-
tags/2.9.2/views/scripts/fomantic-transition.js (added)
-
tags/2.9.2/views/scripts/index.php (added)
-
tags/2.9.2/views/scripts/language-switcher.js (added)
-
tags/2.9.2/views/scripts/onload.js (added)
-
tags/2.9.2/views/scripts/woocommerce-clone-field.js (added)
-
trunk/clonable-wp.php (modified) (2 diffs)
-
trunk/helpers/TextTranslator.php (modified) (1 diff)
-
trunk/readme-da_DK.txt (modified) (2 diffs)
-
trunk/readme-de_DE.txt (modified) (2 diffs)
-
trunk/readme-es_ES.txt (modified) (2 diffs)
-
trunk/readme-fr_FR.txt (modified) (2 diffs)
-
trunk/readme-it_IT.txt (modified) (2 diffs)
-
trunk/readme-nb_NO.txt (modified) (2 diffs)
-
trunk/readme-nl_NL.txt (modified) (2 diffs)
-
trunk/readme-sv_SE.txt (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/services/LanguageSwitcherService.php (modified) (1 diff)
-
trunk/traits/PluginCheck.php (modified) (2 diffs)
-
trunk/views/LanguageSwitcherView.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
clonable/trunk/clonable-wp.php
r3453043 r3455196 5 5 Description: Official plugin for improving your clones made with Clonable. 6 6 Plugin URI: https://kb.clonable.net/en/introduction/getting-started/wordpress#de-clonable-plug-in-downloaden 7 Version: 2.9. 17 Version: 2.9.2 8 8 Author: Clonable BV 9 9 Author URI: https://www.clonable.net … … 126 126 127 127 define('CLONABLE_NAME', 'Clonable'); 128 define('CLONABLE_VERSION', '2.9. 1');128 define('CLONABLE_VERSION', '2.9.2'); 129 129 130 130 if (defined('WP_CLI') && WP_CLI) { -
clonable/trunk/helpers/TextTranslator.php
r3452753 r3455196 30 30 string $content, 31 31 ?string $cloneId = null, 32 bool $textOnly = true ,32 bool $textOnly = true // no trailing comma for PHP 7.4 33 33 ): string { 34 34 -
clonable/trunk/readme-da_DK.txt
r3453043 r3455196 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.2 7 Stable tag: 2.9. 17 Stable tag: 2.9.2 8 8 License: GPL v2 or later 9 9 … … 32 32 33 33 == Changelog == 34 v2.9.2 35 Bugfix PHP versions lower that 8.0 36 34 37 v2.9.1 35 38 Fixed bug with checkout coutry field -
clonable/trunk/readme-de_DE.txt
r3453043 r3455196 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.2 7 Stable tag: 2.9. 17 Stable tag: 2.9.2 8 8 License: GPL v2 or later 9 9 … … 32 32 33 33 == Changelog == 34 v2.9.2 35 Bugfix PHP versions lower that 8.0 36 34 37 v2.9.1 35 38 Fixed bug with checkout coutry field -
clonable/trunk/readme-es_ES.txt
r3453043 r3455196 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.2 7 Stable tag: 2.9. 17 Stable tag: 2.9.2 8 8 License: GPL v2 or later 9 9 … … 32 32 33 33 == Changelog == 34 v2.9.2 35 Bugfix PHP versions lower that 8.0 36 34 37 v2.9.1 35 38 Fixed bug with checkout coutry field -
clonable/trunk/readme-fr_FR.txt
r3453043 r3455196 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.2 7 Stable tag: 2.9. 17 Stable tag: 2.9.2 8 8 License: GPL v2 or later 9 9 … … 32 32 33 33 == Changelog == 34 v2.9.2 35 Bugfix PHP versions lower that 8.0 36 34 37 v2.9.1 35 38 Fixed bug with checkout coutry field -
clonable/trunk/readme-it_IT.txt
r3453043 r3455196 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.2 7 Stable tag: 2.9. 17 Stable tag: 2.9.2 8 8 License: GPL v2 or later 9 9 … … 32 32 33 33 == Changelog == 34 v2.9.2 35 Bugfix PHP versions lower that 8.0 36 34 37 v2.9.1 35 38 Fixed bug with checkout coutry field -
clonable/trunk/readme-nb_NO.txt
r3453043 r3455196 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.2 7 Stable tag: 2.9. 17 Stable tag: 2.9.2 8 8 License: GPL v2 or later 9 9 … … 32 32 33 33 == Changelog == 34 v2.9.2 35 Bugfix PHP versions lower that 8.0 36 34 37 v2.9.1 35 38 Fixed bug with checkout coutry field -
clonable/trunk/readme-nl_NL.txt
r3453043 r3455196 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.2 7 Stable tag: 2.9. 17 Stable tag: 2.9.2 8 8 License: GPL v2 or later 9 9 … … 32 32 33 33 == Changelog == 34 v2.9.2 35 Bugfix PHP versies lager dan 8.0 36 34 37 v2.9.1 35 38 Fixed bug with checkout coutry field -
clonable/trunk/readme-sv_SE.txt
r3453043 r3455196 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.2 7 Stable tag: 2.9. 17 Stable tag: 2.9.2 8 8 License: GPL v2 or later 9 9 … … 32 32 33 33 == Changelog == 34 v2.9.2 35 Bugfix PHP versions lower that 8.0 36 34 37 v2.9.1 35 38 Fixed bug with checkout coutry field -
clonable/trunk/readme.txt
r3453043 r3455196 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.2 7 Stable tag: 2.9. 17 Stable tag: 2.9.2 8 8 License: GPL v2 or later 9 9 … … 32 32 33 33 == Changelog == 34 v2.9.2 35 Bugfix PHP versions lower that 8.0 36 34 37 v2.9.1 35 38 Fixed bug with checkout coutry field -
clonable/trunk/services/LanguageSwitcherService.php
r3422714 r3455196 177 177 $langName = $menu_language['lang_code']; // fallback 178 178 179 try { 179 try { 180 180 $langsSetting = $plugin_language_switcher_settings['languages'] ?? '[]'; 181 181 -
clonable/trunk/traits/PluginCheck.php
r3452753 r3455196 13 13 public function woocommerce_is_installed() { 14 14 // Test to see if WooCommerceView is active (including network activated). 15 return $this->check_plugin_by_file('woocommerce/woocommerce.php'); 15 // We also check if the class exists, bacause it's possible to rename the root plugin folder name, which would cause the first check to fail. 16 return $this->check_plugin_by_file('woocommerce/woocommerce.php') || class_exists('WooCommerce'); 16 17 } 17 18 … … 29 30 */ 30 31 public function pdf_invoices_installed() { 31 return $this->check_plugin_by_file('woocommerce-pdf-invoices-packing-slips/woocommerce-pdf-invoices-packingslips.php'); 32 // Check for both the plugin file and the class, as the class might still be available even if the plugin folder name has been changed 33 return $this->check_plugin_by_file('woocommerce-pdf-invoices-packing-slips/woocommerce-pdf-invoices-packingslips.php') || class_exists('WPO_WCPDF'); 32 34 } 33 35 -
clonable/trunk/views/LanguageSwitcherView.php
r3422714 r3455196 120 120 class="item" data-value="<?php echo esc_attr($language['locale']); ?>"> 121 121 <i class="fflag-<?php echo esc_attr($language['region']); ?> fflag ff-sm" style="margin-right: 0.5rem; margin-bottom: 0.125rem"></i> 122 <?php echo esc_html($language['display_country']) ; ?>122 <?php echo esc_html($language['display_country']) . ' <small>(' . esc_attr($language['locale']) . ')</small>'; ?> 123 123 </div> 124 124 <?php
Note: See TracChangeset
for help on using the changeset viewer.