Changeset 3314356
- Timestamp:
- 06/19/2025 07:46:07 AM (10 months ago)
- Location:
- clonable
- Files:
-
- 122 added
- 11 edited
-
tags/2.5.4 (added)
-
tags/2.5.4/Bootstrap.php (added)
-
tags/2.5.4/clonable-wp.php (added)
-
tags/2.5.4/controllers (added)
-
tags/2.5.4/controllers/Controller.php (added)
-
tags/2.5.4/controllers/DashboardController.php (added)
-
tags/2.5.4/controllers/LandingPageController.php (added)
-
tags/2.5.4/controllers/LanguageSwitcherController.php (added)
-
tags/2.5.4/controllers/LanguageTagController.php (added)
-
tags/2.5.4/controllers/SettingController.php (added)
-
tags/2.5.4/controllers/WoocommerceController.php (added)
-
tags/2.5.4/controllers/index.php (added)
-
tags/2.5.4/exceptions (added)
-
tags/2.5.4/exceptions/ApiException.php (added)
-
tags/2.5.4/exceptions/CurlException.php (added)
-
tags/2.5.4/exceptions/ValidationException.php (added)
-
tags/2.5.4/helpers (added)
-
tags/2.5.4/helpers/Functions.php (added)
-
tags/2.5.4/helpers/Html.php (added)
-
tags/2.5.4/helpers/Json.php (added)
-
tags/2.5.4/helpers/Locales.php (added)
-
tags/2.5.4/helpers/Session.php (added)
-
tags/2.5.4/helpers/clonable-locales-list.php (added)
-
tags/2.5.4/helpers/index.php (added)
-
tags/2.5.4/images (added)
-
tags/2.5.4/images/clonable-full-logo.png (added)
-
tags/2.5.4/images/clonable.png (added)
-
tags/2.5.4/images/configure-wordpress-thumbnail.png (added)
-
tags/2.5.4/images/flags.png (added)
-
tags/2.5.4/images/index.php (added)
-
tags/2.5.4/images/language-switcher-thumbnail.png (added)
-
tags/2.5.4/index.php (added)
-
tags/2.5.4/middleware (added)
-
tags/2.5.4/middleware/Auth.php (added)
-
tags/2.5.4/middleware/ClonedSite.php (added)
-
tags/2.5.4/middleware/MiddlewareHandler.php (added)
-
tags/2.5.4/middleware/MiddlewareInterface.php (added)
-
tags/2.5.4/middleware/WooCommerce.php (added)
-
tags/2.5.4/middleware/index.php (added)
-
tags/2.5.4/models (added)
-
tags/2.5.4/models/ApiKey.php (added)
-
tags/2.5.4/models/ClonableWooCommerce.php (added)
-
tags/2.5.4/models/ClonedSite.php (added)
-
tags/2.5.4/models/LanguageSwitcher.php (added)
-
tags/2.5.4/models/LanguageTag.php (added)
-
tags/2.5.4/models/Settings.php (added)
-
tags/2.5.4/models/Site.php (added)
-
tags/2.5.4/models/index.php (added)
-
tags/2.5.4/objects (added)
-
tags/2.5.4/objects/ApiResponse.php (added)
-
tags/2.5.4/objects/CircuitBreaker.php (added)
-
tags/2.5.4/objects/ClonableConfig.php (added)
-
tags/2.5.4/objects/ClonableResponse.php (added)
-
tags/2.5.4/objects/CurlBuilder.php (added)
-
tags/2.5.4/objects/ExcludedProductTerm.php (added)
-
tags/2.5.4/objects/Notification.php (added)
-
tags/2.5.4/objects/index.php (added)
-
tags/2.5.4/readme-da_DK.txt (added)
-
tags/2.5.4/readme-de_DE.txt (added)
-
tags/2.5.4/readme-es_ES.txt (added)
-
tags/2.5.4/readme-fr_FR.txt (added)
-
tags/2.5.4/readme-it_IT.txt (added)
-
tags/2.5.4/readme-nb_NO.txt (added)
-
tags/2.5.4/readme-nl_NL.txt (added)
-
tags/2.5.4/readme-sv_SE.txt (added)
-
tags/2.5.4/readme.txt (added)
-
tags/2.5.4/routes (added)
-
tags/2.5.4/routes/Router.php (added)
-
tags/2.5.4/routes/index.php (added)
-
tags/2.5.4/services (added)
-
tags/2.5.4/services/AllowedHostsService.php (added)
-
tags/2.5.4/services/ApiService.php (added)
-
tags/2.5.4/services/CacheService.php (added)
-
tags/2.5.4/services/ClonableWooCommerceService.php (added)
-
tags/2.5.4/services/LanguageSwitcherService.php (added)
-
tags/2.5.4/services/LanguageTagService.php (added)
-
tags/2.5.4/services/LocaleService.php (added)
-
tags/2.5.4/services/MultiCurrencyService.php (added)
-
tags/2.5.4/services/ShortCodeService.php (added)
-
tags/2.5.4/services/SubfolderService.php (added)
-
tags/2.5.4/services/SyncService.php (added)
-
tags/2.5.4/services/index.php (added)
-
tags/2.5.4/services/modules (added)
-
tags/2.5.4/services/modules/DataPanelModule.php (added)
-
tags/2.5.4/services/modules/ExclusionModule.php (added)
-
tags/2.5.4/services/modules/ProductImporterModule.php (added)
-
tags/2.5.4/services/modules/TaxonomyModule.php (added)
-
tags/2.5.4/services/modules/index.php (added)
-
tags/2.5.4/traits (added)
-
tags/2.5.4/traits/Forms.php (added)
-
tags/2.5.4/traits/PluginCheck.php (added)
-
tags/2.5.4/traits/Validation.php (added)
-
tags/2.5.4/traits/index.php (added)
-
tags/2.5.4/uninstall.php (added)
-
tags/2.5.4/views (added)
-
tags/2.5.4/views/DashboardView.php (added)
-
tags/2.5.4/views/LanguageSwitcherView.php (added)
-
tags/2.5.4/views/LanguageTagView.php (added)
-
tags/2.5.4/views/Layout.php (added)
-
tags/2.5.4/views/OnboardingView.php (added)
-
tags/2.5.4/views/SettingsView.php (added)
-
tags/2.5.4/views/ViewInterface.php (added)
-
tags/2.5.4/views/WoocommerceView.php (added)
-
tags/2.5.4/views/css (added)
-
tags/2.5.4/views/css/clonable-extra-button.css (added)
-
tags/2.5.4/views/css/clonable-global.css (added)
-
tags/2.5.4/views/css/clonable-thumbnails.css (added)
-
tags/2.5.4/views/css/clonable-woocommerce.css (added)
-
tags/2.5.4/views/css/clonable.css (added)
-
tags/2.5.4/views/css/fomantic-dropdown.css (added)
-
tags/2.5.4/views/css/fomantic-transition.css (added)
-
tags/2.5.4/views/css/freakflags.css (added)
-
tags/2.5.4/views/css/index.php (added)
-
tags/2.5.4/views/index.php (added)
-
tags/2.5.4/views/scripts (added)
-
tags/2.5.4/views/scripts/alpine.js (added)
-
tags/2.5.4/views/scripts/dohjs.js (added)
-
tags/2.5.4/views/scripts/fomantic-dropdown.js (added)
-
tags/2.5.4/views/scripts/fomantic-transition.js (added)
-
tags/2.5.4/views/scripts/index.php (added)
-
tags/2.5.4/views/scripts/onload.js (added)
-
tags/2.5.4/views/scripts/woocommerce-clone-field.js (added)
-
trunk/clonable-wp.php (modified) (2 diffs)
-
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/SubfolderService.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
clonable/trunk/clonable-wp.php
r3313284 r3314356 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.5. 37 Version: 2.5.4 8 8 Author: Clonable BV 9 9 Author URI: https://www.clonable.net … … 114 114 115 115 define('CLONABLE_NAME', 'Clonable'); 116 define('CLONABLE_VERSION', '2.5. 3');116 define('CLONABLE_VERSION', '2.5.4'); 117 117 118 118 try { -
clonable/trunk/readme-da_DK.txt
r3313284 r3314356 5 5 Tested up to: 6.8.1 6 6 Requires PHP: 7.2 7 Stable tag: 2.5. 37 Stable tag: 2.5.4 8 8 License: GPL v2 or later 9 9 … … 32 32 33 33 == Changelog == 34 v2.5.4 35 Fixed problems with null byte files 36 34 37 v2.5.3 35 38 Fixed deprecation warnings for implicitly nullable parameters types: https://wiki.php.net/rfc/deprecate-implicitly-nullable-types -
clonable/trunk/readme-de_DE.txt
r3313284 r3314356 5 5 Tested up to: 6.8.1 6 6 Requires PHP: 7.2 7 Stable tag: 2.5. 37 Stable tag: 2.5.4 8 8 License: GPL v2 or later 9 9 … … 32 32 33 33 == Changelog == 34 v2.5.4 35 Fixed problems with null byte files 36 34 37 v2.5.3 35 38 Fixed deprecation warnings for implicitly nullable parameters types: https://wiki.php.net/rfc/deprecate-implicitly-nullable-types -
clonable/trunk/readme-es_ES.txt
r3313284 r3314356 5 5 Tested up to: 6.8.1 6 6 Requires PHP: 7.2 7 Stable tag: 2.5. 37 Stable tag: 2.5.4 8 8 License: GPL v2 or later 9 9 … … 32 32 33 33 == Changelog == 34 v2.5.4 35 Fixed problems with null byte files 36 34 37 v2.5.3 35 38 Fixed deprecation warnings for implicitly nullable parameters types: https://wiki.php.net/rfc/deprecate-implicitly-nullable-types -
clonable/trunk/readme-fr_FR.txt
r3313284 r3314356 5 5 Tested up to: 6.8.1 6 6 Requires PHP: 7.2 7 Stable tag: 2.5. 37 Stable tag: 2.5.4 8 8 License: GPL v2 or later 9 9 … … 32 32 33 33 == Changelog == 34 v2.5.4 35 Fixed problems with null byte files 36 34 37 v2.5.3 35 38 Fixed deprecation warnings for implicitly nullable parameters types: https://wiki.php.net/rfc/deprecate-implicitly-nullable-types -
clonable/trunk/readme-it_IT.txt
r3313284 r3314356 5 5 Tested up to: 6.8.1 6 6 Requires PHP: 7.2 7 Stable tag: 2.5. 37 Stable tag: 2.5.4 8 8 License: GPL v2 or later 9 9 … … 32 32 33 33 == Changelog == 34 v2.5.4 35 Fixed problems with null byte files 36 34 37 v2.5.3 35 38 Fixed deprecation warnings for implicitly nullable parameters types: https://wiki.php.net/rfc/deprecate-implicitly-nullable-types -
clonable/trunk/readme-nb_NO.txt
r3313284 r3314356 5 5 Tested up to: 6.8.1 6 6 Requires PHP: 7.2 7 Stable tag: 2.5. 37 Stable tag: 2.5.4 8 8 License: GPL v2 or later 9 9 … … 32 32 33 33 == Changelog == 34 v2.5.4 35 Fixed problems with null byte files 36 34 37 v2.5.3 35 38 Fixed deprecation warnings for implicitly nullable parameters types: https://wiki.php.net/rfc/deprecate-implicitly-nullable-types -
clonable/trunk/readme-nl_NL.txt
r3313284 r3314356 5 5 Tested up to: 6.8.1 6 6 Requires PHP: 7.2 7 Stable tag: 2.5. 37 Stable tag: 2.5.4 8 8 License: GPL v2 or later 9 9 … … 32 32 33 33 == Changelog == 34 v2.5.4 35 Fixed problems with null byte files 36 34 37 v2.5.3 35 38 Verouderingswaarschuwingen voor impliciet nullable parameters opgelost: https://wiki.php.net/rfc/deprecate-implicitly-nullable-types -
clonable/trunk/readme-sv_SE.txt
r3313284 r3314356 5 5 Tested up to: 6.8.1 6 6 Requires PHP: 7.2 7 Stable tag: 2.5. 37 Stable tag: 2.5.4 8 8 License: GPL v2 or later 9 9 … … 32 32 33 33 == Changelog == 34 v2.5.4 35 Fixed problems with null byte files 36 34 37 v2.5.3 35 38 Fixed deprecation warnings for implicitly nullable parameters types: https://wiki.php.net/rfc/deprecate-implicitly-nullable-types -
clonable/trunk/readme.txt
r3313284 r3314356 5 5 Tested up to: 6.8.1 6 6 Requires PHP: 7.2 7 Stable tag: 2.5. 37 Stable tag: 2.5.4 8 8 License: GPL v2 or later 9 9 … … 32 32 33 33 == Changelog == 34 v2.5.4 35 Fixed problems with null byte files 36 34 37 v2.5.3 35 38 Fixed deprecation warnings for implicitly nullable parameters types: https://wiki.php.net/rfc/deprecate-implicitly-nullable-types -
clonable/trunk/services/SubfolderService.php
r3313284 r3314356 208 208 209 209 foreach ($_FILES as $field_name => $file_data) { 210 $file_content = file_get_contents($file_data['tmp_name']);211 if ($file_content === false) {212 continue;213 }214 215 210 // ======== Optional file uploads ======== 216 211 // --------------------------------------- 217 212 // For optional files, filenames can be empty. 213 // Even the files themselves can be totally empty. 218 214 // But the content-disposition and content-type data should still be added 219 215 // … … 234 230 235 231 $data .= $eol; 236 $data .= $file_content . $eol; // append file content 232 $file_content = file_get_contents($file_data['tmp_name']); 233 if ($file_content !== false) { 234 $data .= $file_content . $eol; // append file content (if it's not empty) 235 } 237 236 } 238 237
Note: See TracChangeset
for help on using the changeset viewer.