Skip to content

Releases: qtranslate/qtranslate-xt

3.8.1

01 May 23:01
Compare
Choose a tag to compare

Core

  • Fix no language buttons with WP4 (#825)
  • Fix built-in i18n config search (#824)
  • Fix plugin activation with i18n config (#823)
  • Clarify variables, PHPDoc, code cleanup

WooCommerce

  • Fix translate product name in WC order admin page (#827)

3.8.0

07 Apr 11:30
Compare
Choose a tag to compare

New feature! Initial support of Gutenberg, with some limitations. Read carefully our Gutenberg FAQ before use.

3.7.3

10 Mar 19:37
Compare
Choose a tag to compare

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

  • Fix translation custom attributes (#612, #752)
  • Remove woocommerce_product_get_attributes hook to fix cannot_implode (#612, #707)
  • Fix translations checkout and account settings (#787)
  • Refactor admin page configs

3.7.2

22 Feb 12:33
Compare
Choose a tag to compare

Core

  • No front-detect redirect on neutral path (#749)
  • Add url info in assert no redirect (#757)
  • Improve debug info with plugins

ACF

  • Fix missing ACF dependency on qtranslate (#759)
  • Check SCRIPT_DEBUG properly in ACF

3.7.1

20 Oct 21:09
Compare
Choose a tag to compare

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.7
    • DOING_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
  • 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

11 Oct 12:23
Compare
Choose a tag to compare

Core

  • Fix critical overwrite content issues due to duplicate cookies (#741, #711, #724, #739)
  • Remove session cookie qtrans_edit_language, replaced by sessionStorage qtranslate-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 (from qtx_admin_configuration.php)
    • Create new class QTX_Admin_Settings_Language_List (from QTX_LanguageList)
    • Remove session cookie qtrans_admin_section, replaced by sessionStorage qtranslate-xt-admin-section
  • Remove obsolete admin settings hooks
    • filter: qtranslate_clean_uri
    • action: qtranslate_configuration_pre
    • action: qtranslate_url_mode_choices
  • 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

30 Sep 22:50
Compare
Choose a tag to compare

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

18 Aug 10:43
Compare
Choose a tag to compare
  • Fix media library broken with ACF 5.8.3 (#718)
  • Fix ACF language values not validated (#710)
  • Fix ACF image field rendering (#708)
  • Fix ACF validation of url field (#703)

3.6.1

03 Jul 21:00
Compare
Choose a tag to compare

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

  • Fix ACF post object titles not translated (#678)
  • Fix CSS for ACF admin field (#697)
  • Fix Jetpack: translate related post titles (#699), with a new module for Jetpack
  • Fix deprecated WC filters: product attributes (#686), woocommerce_add_cart_hash

3.6.0

22 Apr 20:15
Compare
Choose a tag to compare
  • 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).