Skip to content

Releases: qtranslate/qtranslate-xt

3.15.2

13 Jul 22:38
Compare
Choose a tag to compare
  • Fix missing base QTX_Translator hooks in admin (#1337)
  • Fix ACF settings for post type and taxonomy (#1342)
  • Fix localize script with missing ACF options (#1341)
  • Fix Slugs paged custom post types archives (#1340)

3.15.1

01 May 23:54
Compare
Choose a tag to compare
  • Fix undefined str_starts_with with PHP 7 (#1334)
  • Fix wrong PHP types with date/time filters (#1335)
  • Fix unused gmt parameter with get_the_time filter (#1335)
  • Fix modified_date/time filters should not use global post (#1336)

3.15.0

30 Apr 11:52
Compare
Choose a tag to compare

New requirements

  • Bump minimum PHP version to 7.1 (#1084), recommend PHP 8.2
  • Bump minimum WordPress version to 5.0 (#1084)
  • Abandon support for Internet Explorer (#1313), no longer supported from WordPress 5.8

Core

  • Add PHP 7.1 type check declarations (#1314), this may create regressions occasionally but also help to find latent bugs
  • Make use of PHP 7.0 null coalesce ?? operator (#1084)
  • Lint PHP by removing unnecessary local vars (#1316)
  • Lint PHP by simplifying expressions (#1317)
  • Rename i18n_content_translation_not_available filter to qtranslate_content_translation_not_available (#1322)
  • Delete admin translator, tidy up front interface (#1321)
    • Delete QTX_Translator_Admin class and WP_Translator_Admin interface.
    • Delete the multilingual_term hook that is specific to qTranslate.
  • Fix custom URL for admin area and login page (#1324)
  • Fix undefined keys when URL mode set to per-domain (user setting) (#1319)
  • Move deprecated functions to a separate file (#1311)

ACF

  • Fix ACF category settings can't all be disabled (#1332)

3.14.2

19 Apr 21:30
Compare
Choose a tag to compare
  • Fix wrong assert with cancelled redirections (#1326), should also fix related issues:
    • NextGen Gallery uploader not working (#1266, #1096)
    • AJAX response error in Advanced Woo Search plugin under PHP8+ (#1284)
    • Problem with script in PHP CLI (#766)
    • 502 Bad Gateway with Ultra Fast PHP (#986)
    • Language needs to be shown in URL (#1068)
  • Fix third-party Ajax requests not detected (#1327), might prevent wrong redirects and cookies set

3.14.1

16 Apr 12:47
Compare
Choose a tag to compare
  • Fix warning deprecated qtranslate_admin_page_config hook (#1315)
  • Fix regression in 3.14.0 with ACF Post Object [qT-XT] (#1320)

3.14.0

02 Apr 09:32
Compare
Choose a tag to compare

Summary

  • Major update for ACF, bump minimal version 5.6.0
    • New settings to select more precisely the supported fields (standard / sub / extended)
    • Deprecate redundant qTranslate text/textarea/wysiwyg extended fields to promote ACF standard fields
  • Compatibility support for PHP 8.2
  • Refactor source file structure and core loaders at init

Core

  • Deprecate filter wp_translator (#1304)
  • Deprecate filter qtranslate_admin_page_config (not qtranslate_admin_config)
  • Re-organize source file structure as /css, /js, /src for CSS / JavaScript / PHP sources, including modules
  • Refactor core file structure and init loaders (#1303)
  • Refactor admin CSS and LSB files, deprecate qtranxf_add_admin_css (#1294)
  • Fix string interpolation deprecated in PHP 8.2 (#1271)
  • Fix PHP Deprecated warning in qtranxf_isMultilingual (#1290)
  • Rewrite require_once as language constructs
  • Rename Gutenberg refs as block editor

ACF

  • Bump ACF minimal version 5.6.0 (#1307)
  • Add new ACF settings to select extended types (#1300)
  • Add new settings for ACF standard fields (#1279)
  • Deprecate qTranslate text/textarea/wysiwyg extended fields (#1305)
  • Fix validation of standard fields (#1292)
  • Fix missing LSB for user profile (#1270)
  • Fix JS error no form found for id=acf_content (#1301)
  • Refactor ACF init of qTranslate fields (#1299)

3.13.0

23 Dec 10:51
Compare
Choose a tag to compare

Summary

  • Compatibility with PHP 8.1 (#1085)
    • Major refactoring of date/time without strftime (deprecated in PHP 8.1)
    • Attention: date/time features require PHP intl module (IntlDateFormatter)
    • Note: strftime format options are still supported by conversion but they may become deprecated (#1234)
  • Major fixes for ACF
    • Fix standard wysiwyg field, better admin support (ACF6, display fields, UI), simplify options
    • Note: it is encouraged to use ACF standard fields, extended QTX fields may become deprecated in next releases
  • New feature! Add setting to show menu items in alternative language (#1063).

Core

  • Improve translatable UI for tinymce editor
  • Add support of form attribute for detached input (#1253, #1252)
  • Fix term update with same value for all langs (#1215, #1230)
  • Date/time refactoring for PHP 8.1 (#1085)
    • Replace strftime with IntlDateFormatter for PHP 8.1 (#1228, #1224)
    • Deprecate date/strftime "override" options, because the use case is very unclear (#1245)
    • Add date/time option to use WP date format and ignore QTX custom formats by disabling any conversion (#1248)
    • Check if class IntlDateFormatter exists, or warn about missing intl module (#1251)
    • Refactor date-time conversions using qtranxf_intl_strftime (#1238)

ACF

  • Generalize ACF config and simplify options (#1267)
    • Remove obsolete option for standard ACF form fields (input, wysiwyg), always active
    • Remove ACF page options, handled natively with new admin config for display and anchors
    • Remove obsolete JS "shim" anchor hack
  • Fix ACF standard wysiwyg editor field (#1186, #1261)
  • Fix ACF translatable standard settings (#1255)
  • Fix ACF display in taxonomy (#908)
  • Fix field group title overwritten with ACF6 (#1252)
  • Fix JS error reading id with ACF6 (#1254)
  • Fix broken ACF init sequence for options LSB (#1233, #1243)
  • Fix translatable style in ACF-QTX fields (#1246)
  • Resync ACF image render_field code (#1241)

Slugs

  • Tidy up slugs module init

Yoast

  • Mark Yoast module degraded (#1257)
  • Fix wp-seo undefined array key image (#1262)
  • Add front filter to disable indexables in Yoast 18.2+ (#1219)

3.12.1

04 Sep 19:30
Compare
Choose a tag to compare

Core

  • Check host key in parsed referrer URL (#1202)
  • Filter excluded types in qtranslate_admin_block_editor (#1210)
  • No redirect or cookies on GraphQL requests (#1211)
  • Exclude cron from translation of all options (#1188)
  • Rename module classes with QTX_Module prefix (#1187)

ACF

  • Refactor ACF module structure (#1191)

Slugs

  • Fix MySQL error in Slugs migration from plugin (#1206, #1216)
  • Escape _ in SQL LIKE queries for Slugs import (#1217)
  • Replace metabox only if existing (#1209)
  • Handle custom query var as array (#1200)
  • Rename all qts_ functions with qtranxf_slugs_ prefix (#1184)

WooCommerce

  • Fix unintended translations in webhooks (#1194)
  • Hide slugs metabox on WC shop pages (#1192)
  • Fix $order->id called incorrectly in order emails (#1189)

3.12.0

06 Jun 23:01
Compare
Choose a tag to compare

New module: Slugs (experimental)

Core

  • 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)
  • 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)
  • 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_<name> (#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

  • Import QTS slugs options and meta data into QTX (#1171)
  • Improve slugs layout with flags (#1163)
  • Filter query vars in slugs, fix 404 mismatch (#1180)
  • Fix many PhpPStorm warnings (#1172)
  • Fix slugs in Cyrillic due to esc_sql() 4.8.3 breaking change (#1156, #1157)
  • 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)
  • 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

07 Dec 23:59
Compare
Choose a tag to compare
  • Fix Yoast filter front schema webpage (#1086)