Releases: qtranslate/qtranslate-xt
Releases · qtranslate/qtranslate-xt
3.8.1
3.8.0
New feature! Initial support of Gutenberg, with some limitations. Read carefully our Gutenberg FAQ before use.
3.7.3
Core
- Fix plugin, mu-plugin and theme config search (#797)
- Refactor plugin dirname and basename (#796)
- Remove legacy plugin config override (#793)
- Set url for Classic Editor direct install (#799)
- Deprecate functions:
qtranxf_plugin_dirname
qtranxf_plugin_basename
qtranxf_find_plugin_config_files
qtranxf_find_plugin_by_folder
WooCommerce
3.7.2
3.7.1
License
- Update license to GPLv2 or later. Meant for harmonization for the WordPress community. More info in related commit.
- Important: if you ever redistribute this work you should also do it under the same license.
Core
- Fix 404 and wrong redirects by disallowing lang query switch with REST (#720)
- Allow cookie read as last fallback with REST (#720)
- Check
HTTP_REFERER
with REST for language & doing front/admin (#744) - Use WP core functions to check globals (#747):
WP_ADMIN
->is_admin()
DOING_AJAX
->wp_doing_ajax()
# from WP 4.7DOING_CRON
->wp_doing_cron()
# from WP 4.8 (new minimum required version)WP_CLI
-> no function but we should check the value properly
- Disambiguate core loading setup
- Disambiguate admin loading sequence in
qtranxf_admin_load
- Remove
qtranxf_add_admin_filters
which should not be called from outside - Move
qtranxf_admin_debug_info
to utils
- Remove
- Update license, authors and links for Composer
- Reformat PHP and JS code with 4 spaces (#737)
- Add debugging asserts for invalid redirects. Disclaimer: only meant for dev with WP_DEBUG, not for production mode!
- Cleanup .gitattributes, clarify text (check-in) and EOL (check-out) conversions for source files
- Remove irrelevant .gitignore # NB: use git global/system config for your IDE or OS crap ;)
3.7.0
Core
- Fix critical overwrite content issues due to duplicate cookies (#741, #711, #724, #739)
- Remove session cookie
qtrans_edit_language
, replaced by sessionStorageqtranslate-xt-admin-edit-language
- Introduce new hidden field
qtranslate-edit-language
in POST form to provide the active language to the server - Enable secure
qtrans_admin_language
cookie (#467) - Restrict
qtrans_admin_language
,qtrans_front_language
cookies with httponly flag (#467) - Restrict legacy
url_info[original_url]
to qtranslate-slug for retro-compatibility only - Add troubleshooting section in admin options
- Refactor settings handlers (options panels)
- Create new class
QTX_Admin_Settings
(fromqtx_admin_configuration.php
) - Create new class
QTX_Admin_Settings_Language_List
(fromQTX_LanguageList
) - Remove session cookie
qtrans_admin_section
, replaced by sessionStorageqtranslate-xt-admin-section
- Create new class
- Remove obsolete admin settings hooks
- filter:
qtranslate_clean_uri
- action:
qtranslate_configuration_pre
- action:
qtranslate_url_mode_choices
- filter:
- Reorder URL mode options, polish domains layout
- Cleanup configuration CSS
ACF
- Raise format priority for ACF PRO custom options (#740)
- Add support for SCRIPT_DEBUG and minified scripts in ACF
- Refactor ACF without
qtrans_edit_language
cookie, with a temporary fix for the initial language selection
3.6.3
Core
- Update minimum requirement to PHP 5.4 (#732)
- Remove unused action
qtranslate_head_add_css
- Remove unused utils functions:
qtranxf_stripSlashesIfNecessary, qtranxf_get_domain_language, qtranxf_isAvailableIn
- Move date/time functions to
qtranslate_date_time.php
- Refactor init url_info path and query
- Remove obsolete admin action
qtranslate_css
- Move admin notice and log functions to admin_utils
- Fix potential bug in
qtranxj_get_cookie
(#724) - Fix invalid admin CSS and remove unused CSS files
- Fix invalid HTML in admin nav menu
- Rename many ambiguous variables
- Remove dead code and unnecessary comments
- Fix dozens of code warnings: unused variables, redundant escape char in RegExp, comparison coercions, ...
- Fix typo in define
QTX_EDITOR_MODE_SINGLE
ACF
- Refactor ACF with native
qtranxf
functions (#736) - Refactor ACF code for better readability, update PHPDoc
- Drop support of obsolete ACF 4
- Remove obsolete
qtranslate_custom_admin_js
in ACF - Fix use of deprecated
acf_esc_attrs_e
in ACF - Fix parameter mismatch in ACF
- Fix missing return in sitemap Yoast SEO and cleanup
3.6.2
3.6.1
Core
- New Wiki pages! Help and doc hyperlinks now point to our internal Wiki.
- Fix translation embedded content (#673), for fields given by oembed_response_data
- Update vendor info in i18n-config.json (#702)
- Update Hungarian localization to 3.6.0 (#692)
Modules
3.6.0
- New feature: the built-in modules replace the legacy integration plugins. You have to deactivate/reactivate qTranslate-XT to detect the active modules. See the integration tab and the main modules README for more info.
- New modules: ACF, All in One SEO Pack, Events Made Easy, Gravity Forms, WooCommerce. Note: these modules have been converted from the last available versions of the legacy plugins, but they still remain the same. See each module README for more info.
- Fix CSS admin notices (#664)
- Cleanup obsolete admin version notices. The version options become obsolete (
qtranslate_version_previous, qtranslate_versions
).