From fbe27655694dc48af155e183a15d6755971e54c6 Mon Sep 17 00:00:00 2001 From: HerrVigg Date: Tue, 7 Jun 2022 00:58:44 +0200 Subject: [PATCH] Release 3.12.0 --- CHANGELOG.md | 73 ++++++++++++++++++++++++++++++++------------------ README.md | 18 +++++++------ qtranslate.php | 4 +-- readme.txt | 18 +++++++------ 4 files changed, 69 insertions(+), 44 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6213c565..4e7b7d2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,47 +2,68 @@ New module: **Slugs** (experimental) * Add support for permalink (slug/URL) translations to qTranslate-XT (#671) * Integrated from [qtranslate-slug (QTS)](https://github.com/not-only-code/qtranslate-slug) plugin v1.1.18 (#1060) +* Enable module and see qTranslate import settings to **migrate QTS data** (#1171) +* See [modules/slugs/README.md](https://github.com/qtranslate/qtranslate-xt/blob/master/modules/slugs/README.md) for more info Core -* Add `qtranslate_admin_block_editor` filter to disable Gutenberg support (#1112) -* Refactor bool-array setting to `QTX_BOOLEAN_SET` (#1151) +* Add new filter: `qtranslate_admin_block_editor` to disable Gutenberg support (#1112) +* Fix Uninitialized string offset in getLanguageName (#1175) * Fix 'Headers already sent' for `wp_doing_cron` (#1114) * Fix regression on reset config (#1109) * Fix deprecated `preg_split` with PHP8.1 (#1085) -* Check qTranslate-X plugin disabled on QT-XT activation +* Fix missing check: qTranslate-X plugin must be disabled on QT-XT activation +* Remove `hreflang` from `a` tag in widget (#1088) +* Relax composer/installers version requirement (#1170) +* Generalize double checkboxes in QTX options (#1177) +* Refactor bool-array setting to `QTX_BOOLEAN_SET` (#1151) +* Align translation files to current sources, complete it_IT translation (#1165) + +Admin +* New module settings with manual activation for all modules (#1147, #1137, #1135, #1136) +* Generalize custom module settings tabs (#1146) +* Harmonize module options as `qtranslate_module_` (#1158) +* Refactor module classes and file structure (#1153) Modules -* Admin modules - * Generalize manual activation (#1147, #1137, #1135, #1136) - * Generalize custom module settings tabs (#1146) - * Harmonize module options as `qtranslate_module_` (#1158) - * Refactor module classes and file structure (#1153) * ACF * Integrate ACF settings in modules tab (#1154) * Simplify module init (#1139) * Gravity Forms * Fix translation of choice text in Gravity Forms (#1095) * Slugs - * separate admin functions from qts class, cleaning, refactoring (#1134, #1141) - * refactor language setup with internal `q_config` (#1130) - * refactor with new `qtranslate_convert_url` filter (#1117) - * refactor and fix add/edit terms slugs (#1126) - * improve slug admin metabox handling (#1124) - * rationalize get post_types/taxonomies (#1121) - * fix hide slug field in post quickedit (#1125) - * refactor install with WP API (#1122) - * merge qts textdomain to qtranslate, update l10n (#1120) - * remove nav functions and cleanup (#1118) - * handle deactivation, remove widget, cleanup (#1111) - * remove obsolete migration functions and styling (#1113) - * integrate Slugs settings in qtranslate (#1115, #1107) - * use `$post` arg in `validate_post_slug` (#1102) - * fix warnings and major cleanup (PHPDoc, termmeta wrappers) (#671) - * delete unused function raising warning in PHP8.1 (#1103) -* WooComerce - * Removed unneeded action mistakenly used as a filter (#1145) + * New features + * Import QTS slugs options and meta data into QTX (#1171) + * Improve slugs layout with flags (#1163) + * Fix + * Filter query vars in slugs, fix 404 mismatch (#1180) + * Fix many PhpPStorm warnings (#1172) + * Fix page/post conflict and utf8 chars in filter_request (#1168) + * Remove slug fields for WC attributes add/edit page (#1164) + * Fix hide slug field in post quickedit (#1125) + * Fix warnings and major cleanup (PHPDoc, termmeta wrappers) (#671) + * Delete unused function raising warning in PHP8.1 (#1103) + * Refactoring + * Remove internal QTS filter hooks (#1176) + * Replace slugs `qts_page_request` cache with transient (#1182) + * Create `qts_show_list_term_fields` for add/edit term (#1163) + * Separate admin functions from qts class, cleaning, refactoring (#1134, #1141) + * Refactor language setup with internal `q_config` (#1130) + * Refactor with new `qtranslate_convert_url` filter (#1117) + * Refactor and fix add/edit terms slugs (#1126) + * Improve slug admin metabox handling (#1124) + * Rationalize get post_types/taxonomies (#1121) + * Refactor install with WP API (#1122) + * Merge `qts` textdomain to `qtranslate`, update l10n (#1120) + * Remove nav functions and cleanup (#1118) + * Handle deactivation, remove widget, cleanup (#1111) + * Remove obsolete migration functions and styling (#1113) + * Integrate slugs settings in qtranslate (#1115, #1107) + * Use `$post` arg in `validate_post_slug` (#1102) +* WooCommerce + * Fix attribute edit page hidden fields (#1161) * Fix untranslated options in product variations (#1144) * Fix product attributes translations (#1143) + * Remove unneeded action mistakenly used as a filter (#1145) ### 3.11.4 * Fix Yoast filter front schema webpage (#1086) diff --git a/README.md b/README.md index fb9d6673..ec2b7956 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Developed by: new qTranslate community, from qTranslate-X by John Clause and qTr Contributors: herrvigg, johnclause, chineseleper, Vavooon, grafcom Tags: multilingual, language, admin, tinymce, bilingual, widget, switcher, i18n, l10n, multilanguage, translation Requires: 4.8 -Tested up to: 5.8.2 +Tested up to: 6.0 Stable tag: N/A License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -42,14 +42,14 @@ Yes and it's very easy! Currently you can have both qTranslate-X and qTranslate- *Disclaimer: be sure to backup your database regularly.* -### Is the Block Editor (Gutenberg) supported? ### +### Is the Block Editor (Gutenberg) supported? It is partially supported, with some limitations. Read carefully our [Gutenberg FAQ](https://github.com/qtranslate/qtranslate-xt/wiki/FAQ#gutenberg) before use. -### Is WooCommerce, ACF, ... supported? ### -WooCommerce, ACF and other plugins are now supported as built-in modules. Developers able to test properly are much welcome! Please send PR for bug fixes. +### Is WooCommerce, ACF, QTS (Slugs), ... supported? +WooCommerce, ACF, Slugs and other plugins are now supported as built-in modules. Developers able to test properly are much welcome! Please send PR for bug fixes. See the complete list of [available modules](https://github.com/qtranslate/qtranslate-xt/tree/master/modules) in our repo. -### Is any plugin/themes supported? ### +### Is any plugin/themes supported? Some major plugins are now supported with the built-in modules. Some plugins are also supported with built-in i18n configurations. For other plugins you need to provide custom integration through i18n configuration (json) and/or code (PHP/JS). A major refactoring is needed to make this easier. ### I'm new to qTranslate, where can I find detailed instructions for startup? @@ -73,8 +73,10 @@ Note for developers: ## Upgrade Notice ### 3.12.0 -* New module: **Slugs** (experimental) for permalink (slug/URL) translations, integrated from [qtranslate-slug](https://github.com/not-only-code/qtranslate-slug) plugin (v1.1.18) -* New module settings with manual activation and integrated custom settings for ACF and Slugs +* New module: **Slugs** (experimental) for permalink (slug/URL) translations + * Enable module and see qTranslate import settings to migrate QTS data + * See [modules/slugs/README.md](https://github.com/qtranslate/qtranslate-xt/blob/master/modules/slugs/README.md) for more info +* New module settings with manual activation for all modules and integrated custom settings for ACF and Slugs ### 3.11.0 Major fix! Enable language switch for text widget with TinyMCE editor. @@ -115,7 +117,7 @@ The [legacy issues](https://github.com/qtranslate/qtranslate-xt/wiki/Known-Issue ## Credentials * Thank you to all people motivated to make this plugin live again! -* Thank you to the authors of the legacy versions, first of all qTranslate-X by John Clause, qTranslate by Qian Qin and all the previous contributors. +* Thank you to the authors of the legacy versions, qTranslate-X by John Clause, qTranslate by Qian Qin and all the previous contributors. ## Desirable Unimplemented Features diff --git a/qtranslate.php b/qtranslate.php index ef6dbbc3..68037b97 100644 --- a/qtranslate.php +++ b/qtranslate.php @@ -3,7 +3,7 @@ * Plugin Name: qTranslate-XT * Plugin URI: https://github.com/qtranslate/qtranslate-xt/ * Description: Adds user-friendly multilingual content support, stored in single post. - * Version: 3.11.4 + * Version: 3.12.0 * Author: qTranslate Community * Author URI: https://github.com/qtranslate/ * Tags: multilingual, multi, language, admin, tinymce, Polyglot, bilingual, widget, switcher, professional, human, translation, service, qTranslate, zTranslate, mqTranslate, qTranslate Plus, WPML @@ -54,7 +54,7 @@ * Designed as interface for other plugin integration. The documentation is available at * https://github.com/qtranslate/qtranslate-xt/wiki/Integration-Guide/ */ -define( 'QTX_VERSION', '3.12.0.dev.0' ); +define( 'QTX_VERSION', '3.12.0' ); if ( ! defined( 'QTRANSLATE_FILE' ) ) { define( 'QTRANSLATE_FILE', __FILE__ ); diff --git a/readme.txt b/readme.txt index 5dde33a3..07e0d059 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Developed by: new qTranslate community, from qTranslate-X by John Clause and qTr Contributors: herrvigg, johnclause, chineseleper, Vavooon, grafcom Tags: multilingual, language, admin, tinymce, bilingual, widget, switcher, i18n, l10n, multilanguage, translation Requires: 4.8 -Tested up to: 5.8.2 +Tested up to: 6.0 Stable tag: N/A License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -42,14 +42,14 @@ Yes and it's very easy! Currently you can have both qTranslate-X and qTranslate- *Disclaimer: be sure to backup your database regularly.* -### Is the Block Editor (Gutenberg) supported? ### +### Is the Block Editor (Gutenberg) supported? It is partially supported, with some limitations. Read carefully our [Gutenberg FAQ](https://github.com/qtranslate/qtranslate-xt/wiki/FAQ#gutenberg) before use. -### Is WooCommerce, ACF, ... supported? ### -WooCommerce, ACF and other plugins are now supported as built-in modules. Developers able to test properly are much welcome! Please send PR for bug fixes. +### Is WooCommerce, ACF, QTS (Slugs), ... supported? +WooCommerce, ACF, Slugs and other plugins are now supported as built-in modules. Developers able to test properly are much welcome! Please send PR for bug fixes. See the complete list of [available modules](https://github.com/qtranslate/qtranslate-xt/tree/master/modules) in our repo. -### Is any plugin/themes supported? ### +### Is any plugin/themes supported? Some major plugins are now supported with the built-in modules. Some plugins are also supported with built-in i18n configurations. For other plugins you need to provide custom integration through i18n configuration (json) and/or code (PHP/JS). A major refactoring is needed to make this easier. ### I'm new to qTranslate, where can I find detailed instructions for startup? @@ -73,8 +73,10 @@ Note for developers: ## Upgrade Notice ### 3.12.0 -* New module: **Slugs** (experimental) for permalink (slug/URL) translations, integrated from [qtranslate-slug](https://github.com/not-only-code/qtranslate-slug) plugin (v1.1.18) -* New module settings with manual activation and integrated custom settings for ACF and Slugs +* New module: **Slugs** (experimental) for permalink (slug/URL) translations + * Enable module and see qTranslate import settings to migrate QTS data + * See [modules/slugs/README.md](https://github.com/qtranslate/qtranslate-xt/blob/master/modules/slugs/README.md) for more info +* New module settings with manual activation for all modules and integrated custom settings for ACF and Slugs ### 3.11.0 Major fix! Enable language switch for text widget with TinyMCE editor. @@ -115,7 +117,7 @@ The [legacy issues](https://github.com/qtranslate/qtranslate-xt/wiki/Known-Issue ## Credentials * Thank you to all people motivated to make this plugin live again! -* Thank you to the authors of the legacy versions, first of all qTranslate-X by John Clause, qTranslate by Qian Qin and all the previous contributors. +* Thank you to the authors of the legacy versions, qTranslate-X by John Clause, qTranslate by Qian Qin and all the previous contributors. ## Desirable Unimplemented Features