at path:
ROOT
/
wp-content
/
plugins
/
weglot
/
changelog.md
run:
R
W
Run
app
DIR
2026-07-10 16:52:05
R
W
Run
blocks
DIR
2026-07-10 16:52:05
R
W
Run
dist
DIR
2026-07-10 16:52:05
R
W
Run
languages
DIR
2026-07-10 16:52:05
R
W
Run
src
DIR
2026-07-10 16:52:05
R
W
Run
templates
DIR
2026-07-10 16:52:05
R
W
Run
vendor
DIR
2026-07-10 16:52:05
R
W
Run
bootstrap.php
6.9 KB
2026-07-02 12:29:18
R
W
Run
Delete
Rename
changelog.md
34.52 KB
2026-07-02 12:29:18
R
W
Run
Delete
Rename
changelog.txt
1.8 KB
2026-07-02 12:29:18
R
W
Run
Delete
Rename
composer.json
1.65 KB
2026-07-02 12:29:18
R
W
Run
Delete
Rename
readme.txt
11.32 KB
2026-07-06 11:36:44
R
W
Run
Delete
Rename
weglot-autoload.php
837 By
2026-07-02 12:29:18
R
W
Run
Delete
Rename
weglot-compatibility.php
1.4 KB
2026-07-02 12:29:18
R
W
Run
Delete
Rename
weglot-functions.php
7.24 KB
2026-07-02 12:29:18
R
W
Run
Delete
Rename
weglot.php
12.46 KB
2026-07-02 12:29:18
R
W
Run
Delete
Rename
error_log
up
📄
changelog.md
Save
<!-- logo --> <img src="https://cdn.weglot.com/logo/logo-hor.png" height="40" /> # Change Log ## 5.5 (04/05/2026) = * Improvement: Adds FiboSearch (Ajax Search for WooCommerce) compatibility by registering new third-party services * Improvement: Updates Replace_Url_Service_Weglot::is_link_a_file() to treat .csv as a default excluded file extension, so links to CSV downloads are no longer processed for URL replacement/translation. * Improvement: Keeps most Weglot option data in the frontend settings payload. * Improvement: Propagates an editor-provided session identifier to Weglot API calls by reading HTTP_WG_EDITOR_SESSION, sanitizing/whitelisting characters, and conditionally adding it as an editor-session header in Parser_Service_Weglot::get_client(). * Improvement: Adds xhook (^1.6.2) to runtime dependencies in package.json (keeping slugify), likely to vendor the library via the plugin/build rather than relying on an external source. * Improvement: Introduces a new weglot_modify_original_content filter in Translate_Service_Weglot::weglot_treat_page() to let callers adjust the original $content (with current/original language provided) before content-type detection, canonical extraction, and translation. * Improvement: Significantly expands and hardens the PHPUnit suite by adding new regression tests * Improvement: Adds optional WordPress integration to JsonChecker: when apply_filters is available, default_keys is now passed through the list_json_ld_keys filter before parsing. This lets WordPress hosts customize which JSON-LD fields (beyond the built-in defaults and extraKeys) are extracted for translation. thanks to @andreicnegrea for the feedbacks ## 5.4 (02/03/2026) = * Improvement: Updates Translate_Page_Weglot::manage_trailing_slash() to bypass trailing-slash enforcement when the request targets WordPress admin or REST API endpoints * Improvement: Prevents sitemap XML lastmod values from being translated by adding lastmod to the default exclusion list returned by Option_Service_Weglot::get_exclude_blocks() * Improvement: Adds an optional AI-translation disclaimer injection step to the HTML translation flow (weglot_treat_page) before content is sent to the parser. * Improvement: Improves Translate_Service_Weglot::weglot_translate() to support WP Engine hosting by optionally processing the rendered page via the final_output filter instead of always relying on ob_start() * Improvement: Removes the ImageSourceSet DOM checker (img[srcset] / WordType::IMG_SRC) from src/Parser/Check/Dom, relying on existing ImageSource/DomFormatter logic to handle srcset without a dedicated checker. * Security: phpunit/phpunit in composer.json from ^4 || ^6 to ^9.6.33 * Fix: Prevents runtime errors during formatting when word collections are shorter than expected. * Fix: Fixes out-of-bounds/index errors during formatting by making DomFormatter use a null-coalescing lookup ($translatedWords[$i + $index] ?? null) before applying translations. ## 5.3 (02/02/2026) = * Improvement: Modernizes the project's build system by updating dependencies and migrating to the newer Sass module syntax. * Improvement: Switches bot detection to Matomo DeviceDetector for more accurate and maintainable user agent parsing. * Improvement: Introduces an opt-in mechanism to prevent translation of specific words in HTML. * Improvement: Introduces a built-in regex checker and integrates defaults into the checker list before third-party discovery. * Improvement: Improves URL translation robustness to prevent null/invalid redirects in WooCommerce flows. * Improvement: Disables the Weglot translation layer for the WP Engine cache purge endpoint (/wp-json/wpe/cache-plugin/v1/clear_all_caches) to prevent 502 errors. * Update: Refreshes the readme content (marketing, SEO, and FAQ) for clarity and relevance. * Fix: Changes class name construction in Regex_Checkers_Service_Weglot to use underscores for consistency and compatibility. * Fix: Renders preview-mode language items as anchors with href "#" to prevent navigation during preview sessions. * Fix: Ensures cache is actually purged as part of validating signed purge requests. ## 5.1 (30/09/2025) = * Feature: Add support for Brazilian Portuguese * Improvement: Default translation engine to version 3 * Improvement: Update plugin URI * Improvement: Add new filter for search results * Improvement: Update translation files * Quality: Upgrade to PHPStan level 7 * Quality: Add CI pipeline quality checks ## 5.0 (16/07/2025) = * Major: Update minimum PHP requirement to 7.4 to align with WordPress requirements * Improvement: Add prefix to Weglot CSS to prevent conflicts with other styles * Improvement: Introduce escape_vue_attributes and preserve_attributes methods for attribute escaping * Improvement: Rename inline CSS ID from Weglot to weglot_custom_style * Improvement: Add missing keys for WooCommerce JSON (variation cart) * Improvement: Add reverse_translate method to TranslateService * Improvement: Enhance recursivelyConvertToUtf8 usage * Improvement: Control payload size and truncate when exceeding limits * Quality: Maintain PHPStan at level 6 ## 4.3.3 (19/05/2025) = * Improvement: Add filter and helper method to escape Vue.js attributes before parsing content * Improvement: Prevent empty host value when retrieving current URL via wp_parse_url * Improvement: Remove private API key from Weglot data JSON * Improvement: Exclude the generate_wpo_wcpdf AJAX action from translation * Improvement: Validate replacement limit before running link-replacement regex * Improvement: Trim redundant double slashes from URLs during redirect * Improvement: Check that autoswitch is enabled and remove the language_to parameter from the JS script * Improvement: Add filter to enable Weglot in U.S. environments * Improvement: Update button CSS so code-language classes are prefixed with wg- * Improvement: Document usage of the check_custom_redirect() method * Improvement: Add srcset attribute to default DOM checker list * Improvement: Add proxy option for HTTP client calls ## 4.3.2 (01/04/2025) = * Update: update weglot/languages to 1.9 ## 4.3.1 (10/03/2025) = * Improvement: Added a filter to allow rendering of the default language switcher in JavaScript. * Improvement: Introduced a filter to add a JSON key for ld+json. * Improvement: Migrated the custom_css setting to the new settings structure. * Fix: Resolved the fallback auto-switch issue. * Fix: Corrected an issue preventing settings from being saved via the WordPress admin. * Improvement: Removed the link from the preview switcher in wp-admin. * Fix: Resolved compatibility issues between WG and Elementor with the latest WordPress version. * Improvement: Updated the language list. * Fix: Corrected an issue where URL parameters or anchors on links were inadvertently removed. * Fix: Fixed the WooCommerce reset password issue. * Update: Revised the message for PHP versions below 7.4 to announce the end of compatibility in the next release. * Improvement: Forced the use of the WordPress URL for request_url via a filter, instead of relying on the server URL. * Improvement: Added a filter to disable automatic trailing slash addition in DOM links. * Fix: Resolved a redirection issue with the Yoast plugin. * Improvement: Added a filter to modify the URL generated by Weglot. * Improvement: Refactored URL exclusions implementation. * Update: Migrate languages. Override mapping: cb => ceb, tw => zh-tw, fc => fr-ca, hm => hmn, sa => sr-latn, br => pt-br * Improvement: Added method to check json_encode before making an API call to avoid an empty body. * Improvement: For the manage_trailing_slash method, excluded default paths such as robots.txt and sitemap_index. * Improvement: Added a filter custom_trailing_slash_exclusions to allow custom path exclusions. ## 4.3.0 (20/01/2025) = * Improvement: Removed usage of Weglot.switchTo method during JS library initialization. * Improvement: Stopped adding weglot-data attributes when content is in the original language. * Improvement: Added a filter to allow translation of child nodes within excluded parent nodes. * Improvement: Added a filter to handle missing trailing slashes in URLs. * Improvement: Automatically added missing trailing slashes when translating content. * Improvement: Introduced a filter to manage the usage of custom path definitions for base URLs. * Improvement: Added the wg-excluded-link attribute to prevent translation of links while still translating labels or text. * Improvement: Displayed a warning banner for PHP 8.1 compatibility issues. * Fix: Resolved a deprecation issue by replacing FILTER_SANITIZE_STRING with FILTER_SANITIZE_FULL_SPECIAL_CHARS. * Fix: Fixed an issue where the WooCommerce reset password page displayed a blank page in the original language. * Quality: Addressed PHPStan issues to maintain level 6 compliance. ## 4.2.9 (22/10/2024) = * Feature: Add filter to enable dynamic features from Weglot. * Fix: Resolve dynamic declaration deprecation warning. * Quality: Improve PHPStan to level 6. * Improvement: Named mousedown event listener for proper removal. * Improvement: Add filter to restrict access for specific roles. * Improvement: Add translate="no" attribute to disable browser translation. * Improvement: Enable translation of video src attribute by default. * Improvement: Remove "URL Translate" banner in WP Admin. * Improvement: Support adding tel: links as external links. * Improvement: Add option to return 404 for excluded pages. * Improvement: Add check for weglot-private header in requests. * Improvement: Wrap pageviews scripts in a function to avoid conflicts with other scripts. ## 4.2.8 (30/07/2024) = * Improvement: Add filter to prevent validation button check: Implemented a new filter to disable the validation button check. * Improvement: Add rel=nofollow to URLs containing Weglot parameters for auto-redirect: Enhanced SEO by adding rel=nofollow to URLs that include Weglot parameters. * Improvement: Improve detection of checkout and cart URLs: Enhanced the detection mechanism for checkout and cart URLs for better accuracy. * Improvement: Enhance Algolia compatibility: Improved integration and compatibility with Algolia search functionality. * Improvement: Add filter to change home directory to translated URL: Introduced a new filter to modify the home directory to its translated URL. * Bug: Fix underscore template parsing: Resolved issues with the parsing of underscore templates. * Bug: Fix deprecated preg_match() usage: Corrected the deprecated use of preg_match() to comply with the latest PHP standards. * Bug: Fix deprecated strpos() usage: Addressed the deprecated use of strpos() to prevent warnings in the latest PHP versions. * Bug: Fix deprecated json_decode() usage: Fixed the deprecated use of json_decode() to ensure compatibility with current PHP versions. ## 4.2.7 (27/05/2024) = * Improvement: Compatibility with FlyingPress achieved by adding the do_action('weglot_treat_page_hook', $this->current_language) hook. * Improvement: Added compatibility with Algolia. * Improvement: Button style settings are now always visible, even if custom switchers exist. * Improvement: Enhanced JavaScript to improve switcher placement when location data is unavailable. * Improvement: Implemented the validate_button_option() method to validate default settings. * Improvement: Introduced the reverseTranslate() method to optimize search functionality. * Bug: Fixed a bug to prevent multiple redirects to incorrect URLs during rebuilding. * Bug: Resolved a bug related to CodeMirror by implementing a check for element existence before use. * Bug: Implemented a check for simplexml_load_string() availability before usage to handle XML processing. * Bug: Fix an issue about mail translation for WooCommerce ## 4.2.6 (15/03/2024) = * Security: sanitization fixes; thank you Wordfence (CVE-2024-2124) ## 4.2.5 (12/03/2024) = * Bug: Fixed slug translation warning on first install * Bug: Fixed link to switcher editor on BO * Bug: Fixed save language on WooCommerce Meta * Quality: Fixed missing escaped text ## 4.2.4 (25/01/2024) = * Bug: Fixed slug translation update * Bug: Fixed issue using block menu or widget * Bug: Fixed bug deleting body tag ## 4.2.3 (16/01/2024) = * Bug: Fixed WooCommerce cart translations * Bug: Fixed issue with custom flags when using the switcher template * Improvement: Added filter to enable translation links into multisite config * Improvement: Reworked switcher editor location * Improvement: Removed page settings custom-urls * Improvement: Added filter to increase wp_remote_get timeout * Quality: Improved regex performance for translation links * Quality: Improved JavaScript organization and appearance * Quality: Achieved PHPStan level 2 ## 4.2.2 (31/10/2023) = * Bug: Fix deprecated issue on PHP 8.2 due to creation of dynamic property * Bug: Fix issue with email defer option from woocommerce * Improvement: Add quote about autoredirect fallback * Improvement: Install via wp-packagist works * Improvement: Add plugin version to our Weglot settings * Improvement: Update pageviews endpoint to enable more country stats ## 4.2.1 (10/10/2023) = * Bug: Fix deprecated issue on PHP 8.2 due to creation of dynamic property * Improvement: Add Negative excludedPath implementation * Improvement: Add feature flag * Improvement: Load settings on dom only if we have switchers weglot-data) * Bug: Get classname option from gutenberg block * Bug: Fix on proxify_url filter to get the domain and the path * Bug: Add wg choose original param on switcher links for switcher template ## 4.2 (04/09/2023) = * Improvement: API calls using sslverify setting to true by default * Improvement: Implement Responsive switcher option * Improvement: Add filter to proxify URL * Improvement: Add Weglot plugin version on wp admin directly * Bug: don't check the wordlimit during first settings on wordpress * Bug: Add wg choose original param on switcher links for switcher template ## 4.1.1 (26/07/2023) = * Improvement: Add access button to the visual exclusion * Improvement: Add option to open custom switcher on hover * Improvement: Add message when Word limit is reached * Bug: Fix a bug on JSON key translation ## 4.1 (18/07/2023) = * Update: Rework wp-admin page of weglot * Update: Replace sa language code by sr-lt * Update: Fix add_admin_bar_menu from PHP_INT_SIZE to 200 * Update: On fetch if we can have lang from the referer we get lang from the current url * Update: Manage switcher location if not found. Now we place it on our default location (bottom - right) * Update: Translate emails sent with WP Mail SMTP : https://developers.weglot.com/wordpress/use-cases/how-to-translate-email-sending-by-plugin-wp-mail-smtp * Update: Improve accessibility switcher * Update: Add exclude block links instead * Update: implementation of pageviews script * Add: weglot_get_current_language_custom() to get custom_code from custom language * Bug: Fix url redirect to visual editor * Bug: aria-expanded not working as expected * Fix: Warning for exclusion_behavior and language_button_displayed * Fix: Fix error when url contain more than 1 parameter ## 4.0.2 (30/05/2023) = * Update: Change PHP_INT_MAX to 200 in class-pages-weglot.php * Bug: Add esc_url to $_SERVER['REQUEST_URI'] on class-translate-paghe-weglot.com * Bug: Aria-expanded label remains true when it should say false on switcher ## 4.0.1 (02/05/2023) = * Bug: Fix call to undefined revert_callback value on class RegexCheckerProvider * Update: Update message about translated url option (available with Pro plan and more) ## 4.0 (25/04/2023) = * Add: Add switcher gallery implementation * Add: Add PHP 8 compatibility fix deprecated (PHPStan) * Add: Add external_enabled to translate external links * Add: Add language subdirectory to the rel=”prev” and rel=”next” links on WordPress * Add: Add filter to manage hreflang * Add: Manage media_enabled and external_enabled options * Add: Add compatibility with wp rentals plugin and theme * Add: Add mPDF Engine for translate pdf (WP Overnight) * Add: Don't translate link when the target is excluded * Update: Improve filter active translation * Update: Hide Language Switcher when all language pairs are set to private * Bug: Fix call to .json call to prevent create empty settings * Bug: Fix empty slug issue : prevent (do not save empty slug on transient) * Bug: Fix issue with Klaviyo plugin * Bug: Don't hide custom css block when custom switcher is added * Bug: getInternalCode() is called on an element that is ‘null’ * Bug: Duplicate ID when multiple language switchers are present on the same page * Fix: PHP Notice on third party cache enabler * Fix: PHP Notice Undefined array key “SERVER_PROTOCOL” when running Cron * Fix: Fix accessibility issue on the switcher * Fix: Fix issue from wp vip go standard * Fix: PHP Notice Undefined property: stdClass::$post_name ## 3.9.2 (30/01/2023) = * Bug: hotfix js file ## 3.9.1 (30/01/2023) = * Bug: add english in destination language list during installation if original language is different * Update: Prevent using empty .json settings file during install ## 3.9 (17/01/2023) = * Update: Add whitelist mode * Update: Add notices messages if other translate plugin is active * Update: Add index text for translate ldjson * Update: Translate pdf from Germanized pdf plugins * Bug: Fix cookie issue with WP Rocket (mandatory cookies) * Bug: Check if index query exist before use it * Update: Fix wp vip code issue (wp parse url instead of native parse_url) * Update: Check WPLANG on first install instead of put 'en' by default * Bug: Add filter to prevent issue with Gform upload input ajax * Bug: Fix issue with FluentCRM, WP social Ninja and Fluent Support ## 3.8.3 (15/11/2022) = * Bug: Prevent Ajax call from original lang to original lang * Bug: Fix PHP Warning on class-replace-url-service line 192 * Update: Add index 'text' to ld+json translated value ## 3.8.2 (08/11/2022) = * Bug: Update cdn url for pageviews replace cdn-api-weglot.com by cdn-api.weglot.com ## 3.8.1 (18/10/2022) = * Bug: Default is_rtl value for custom_languages * Bug: Update render button for gutenberg editor * Bug: Improve UI for adding excluded block * Add: Update assets for wordpress.org ## 3.8 (11/10/2022) = * Add: Add ajax checker for woocommerce variations cart popin * Add: Rework switcher. Generate it direclty on render method * Add: Add vary header accept language on redirect * Bug: Fix rtl issue * Bug: Add missing ; on pageviews script * Bug: Send code lang instead of name for wp search query * Bug: Don't translate pdf on original language (woocommerce PDF invoice plugin) * Bug: Prevent add twice weglot_language post meta on woocommerce order * Bug: Prevent block translate if ajax referer are not exclude ## 3.7.4 (19/09/2022) = * Bugfix: Update CA Root Certificates from Mozilla ## 3.7.3 (05/07/2022) = * Bugfix: Remove mod_rewrite check with apache_get_module() * Bugfix: Fix problem with empty switcher from switcher editor * Bugfix: Compatibility with gravitform upload input ## 3.7.2 (20/06/2022) = * Bugfix: Fix bug between apache_get_module() and wpengine.com * Add: Add changelog file into plugin directory ## 3.7.1 (15/06/2022) = * Add: Disable translate pdf and add filter to activate ite ## 3.7 (08/06/2022) * Add: Translate pdf service * Add: Optimize button accessibility * Add: Pageviews integration * Add: Add switcher editor integration * Add: Woocommerce translate all mail * Add: Do not translate .eps or .txt * Add: Detect if switcher is child of an iframe and if so, don't display it * Add: Reduce api call on wp-admin ## 3.6.1 (02/03/2022) * Bugfix: Fix hide button option on switcher menu * Bugfix: Fix bug VE not translated * Bugfix: Fix bug add Custom full name for orginal language ## 3.6 (23/02/2022) * Add: Advance exclude url option * Add: Add blocks for gutenberg (wp 5.9) * Add: Disable autoswitch for weglot visual editor * Add: Add Forminator (plugin de WPMUDEV) compatibility * Add: Disable weglot on rankmath sitemap * Add: Add hook filter to replace_url method * Bugfix: php8 parameters order * Bugfix: Refresh destination language list * Bugfix: Display hreflang even url have parameters ## 3.5 (07/12/2021) * Add: Autoswitch work on all page not only on homepage * Add: Exclude url doesn't generate redirection * Add: Add switcher from switcher editor * Add: Call API from cdn to translate * Add: Limited call API for deactivate account * Bugfix: Problem with gform and multisite * Bugfix: Fix hreflang generation with Cyrillic url * Bugfix: Weglot search option now works even if we're not on a main_query ## 3.4 (15/09/2021) * Add: All 404 pages are excluded from translation if you exclude /404 in the Weglot dashboard * Improved performance: Files for multilingual compatibility with other plugins are only called when necessary * Bugfix: Autoswitch feature now works with custom languages * Bugfix: Password reset link in translated emails now works * Bugfix: WooCommerce emails are now translated when using custom languages * Bugfix: Fixed warning in 404 styles.css.map * Bugfix: Autoswitch doesn't redirect when visitor comes from an external link from now on ## 3.3.6 (15/06/2021) * Add new flag from dashboard * Improve hreflang display * Dynamise limit languages check * Fix bug when excluded URL /cart gives empty URL * Fix small bug on multisite where we translated links from / website when located on /subsite * Better handle 301 redirect ## 3.3.5 (12/04/2021) * Add url from canonical if existing * Add vip code review * Increase timeout when updating setting and disable submit button * Adding message to tell user to purge cache from cache plugin after editing translation ## 3.3.4 (22/03/2021) * Check if curl_exec is enable * Fix js problem on admin on preview * Optimize plugin size * Change screenshot on store ## 3.3.3 (08/03/2021) * Language repo * drag and drop * bug greek url * bug parsing empty node ## 3.3.2 (15/02/2021) * Update settings dropdown * Fix rare bug when root equal slug page ## 3.3.1 (01/02/2021) * Small fixes following major release ## 3.3.0 (18/01/2021) * Full refacto of the code * Add: custom language ## 3.2.0 (15/10/2020) * Add translate slug option * Fix: auto redirect on traditional chinese and brazilian portuguese * Fix: admin-ajax bug containing language code in some case ## 3.1.9 (06/08/2020) * Add flag choice for ZH and TW * Update plugin translation files * Translate Iframe SRC as external link * Fix: Custom URL links (empty base in correspondence table / trailing slash) * Fix: Remove "!important" CSS properties on AMP ## 3.1.8 (02/07/2020) * Exclude URL by languages * Translate by default all Woocommerce mails with customer language * Update URLs translation, possibility to use custom URLs for hierarchical pages * Translate External URLs * Add SVG files to media translation * Exclude wp-cron.php from translation * Fix links translation with custom URLS ## 3.1.7 (04/05/2020) * Add a Weglot Menu to admin bar * Add Woocommerce feature : Translate following mail * Better text escaping in Back Office (thanks to @joehoyle and @drvy for contribution) * Add attribute to HTML tag if custom code is used for current language * Optimize CSS size for AMP * Fix: Add compatibility with AMP plugin +1.5 * Fix: No load Weglot CSS in AMP if option is set to false * Fix error on JS script loading (thanks to @joehoyle for contribution) ## 3.1.6 (06/02/2020) * Add: Use WP core code editor for Weglot custom CSS * Add: Add weglot_translate_email filter to control when mail are translated * Bugfix: Fixes small minor bugs ## 3.1.5 (08/01/2020) * Add: weglot_language_code_replace filter to use custom language code * Bugfix: Formatter on JSON source for untranslated WooComerce fields ## 3.1.4 (12/12/2019) * Update back office style for WordPress 5.3 * Fix: Flags SRC attribute with AMP * Fix: Custom URL feature - Revisions * Improve compatibility: WP Optimize * Improve compatibility: Cache Enabler * Add default exclude block for SecuPress plugin and SQLI protect * Add default exclude block for plugin query monitor > 3.3.0 * Remove the "Not allowed" mechanism. ## 3.1.3 (29/10/2019) * Improve compatibility: Woocommerce with IE 11 * Improve compatibility: Contact Form 7 * Improve compatibility: MailOptin * Improve compatibility: The Event Calendar * Improve compatibility: Font Awesome * Add default exclude block: address * Bugfix: Do not cache page if API answers error ## 3.1.2 (24/09/2019) * Bugfix: Custom URL with GET parameters * Bugfix: Ninja Forms JSON translate * Bugfix: Prevent errors due to call protected method ## 3.1.1 (11/09/2019) * Add: IE 11 compatibility with languages switcher * Add: WP-CLI compatibility * Bugfix: admin api call * Bugfix: double language when WC + multisite with subdomains * Bugfix: do not add language on external links also in JSON ## 3.1.0 (29/08/2019) * Add: Better JSON compatiblity * Bugfix: WC password reset mechanism ## 3.0.6 (28/05/2019) * Add: Compatibility with WP Forms * Add: Reset postdata filter for custom URLs * Bugfix: Auto switch fallback * Bugfix: Custom url on is_front_page ## 3.0.5 (22/05/2019) * Bugfix: Prevent array key exists for Gravity Form * Bugfix: Save menu Weglot Switcher * Bugfix: Check DOM on json-ld and inactive by default ## 3.0.4 (10/05/2019) * Bugfix: Prevent errors due to the parser of the JSON-LD ## 3.0.3 (09/05/2019) * Bugfix: Weglot switcher on menu * Add : Translate all JSON-LD ## 3.0.2 (24/04/2019) * Bugfix: Fixed saving custom CSS * Bugfix: Auto detection of a bot (google, bing,...) * Bugfix: Compatibility with caldera forms ## 3.0.1 (17/04/2019) * Bugfix: API key check only if it does not exist * Bugfix: prevent array_key_exists on private languages for older installations ## 3.0.0 (16/04/2019) * New major version * Link between WordPress options and Weglot dashboard options * Bugfix: Fixed an error on the JSON translation ## 2.7.0 (18/03/2019) * Changed : Improve Compatibility with Caldera Forms ## 2.6.0 (06/03/2019) * Add : Prevent elementor ajax action on 2.5 * Add : Compatibility with Caldera Forms * Add : Prevent ajax MMP Map * Changed: Improved AJAX translation performance * Bugfix: No translate link on weglot menu item * Bugfix: meta og facebook * Bugfix: prevent undefined index on widget ## 2.5.0 (07/02/2019) * Add : Compatibility with Ninja Forms * Add : DOM Checker on input type reset * Bugfix : have the same menu switcher on the same page several times * Bugfix : Remove no redirect on hreflang * Improve DOM Checker meta content image ## 2.4.1 (09/01/2019) * Bugfix: undefined function if there is no antislash before the function ( \is_rest ) ## 2.4.0 (09/01/2019) * Compatibility PHP 7.3 * Changed : the language selector for menus * Add : Compatibility with the REST API of Contact Form 7 * Add [BETA] : Be able to translate the keywords of a search * Bugfix : translation of the empty cart on WooCommerce * Bugfix: correction of options on a multisite ## 2.3.1 (05/12/2018) * Bugfix : Button preview fail on migration for private mode ## 2.3.0 (05/12/2018) * Bugfix : Custom URL on archive page * Bugfix : Prevent error on translate AJAX * Bugfix : Href lang on custom URLs * Improve code quality * Compatibility SEOPress : exclude sitemap * Improve private languages * Add two DOM checkers ## 2.2.2 (05/11/2018) * Fix bug on change country flag * Change load custom css inline ## 2.2.1 (01/11/2018) * Fix bug when language was not passed on navigation ## 2.2.0 (31/10/2018) * Added private mode for administrators * Addition apply_filters * Bugfix : an ajax request * Improved compatibility with wpestate * Compatibility with mega max menu ## 2.1.0 (25/09/2018) * New feature: Custom URL * Bugfix : Translate AJAX with return JSON on error * Bugfix : Backslash on function PHP * Bugfix : Replace links href on JSON translate * Bugfix : Compatibility with theme use ob_start ## 2.0.7 (31/08/2018) * Bugfix: Ajax load media library * Improve choice original and destination language ## 2.0.6 (29/08/2018) * Add DOM checker to translate button value and data-value attribute * Update Weglot Translate setting page * Bugfix : email translation * Bugfix : external link with quickpay * Prevent auto redirect on homepage translate ## 2.0.5 (09/08/2018) * Bugfix : Fatal error if use weglot menu custom ## 2.0.4 (09/08/2018) * Bugfix : lost password email on WooCommerce * Bugfix : translate custom login page * Bugfix : uniq id on each button selector * Bugfix : no translate image on a href html tag with wp-content/uploads src * Bugfix : admin-ajax url ## 2.0.3 (27/07/2018) * Bugfix : Hide shortcode on non translatable URL * Bugfix : filter nav_menu_css_class * Bugfix : Redirect URL on checkout WooCommerce * Bugfix : CSS Flag on dropdown menu * Improve AMP compatibility ## 2.0.2 (24/07/2018) * Bugfix : Hide menu on non translatable URL * Bugfix : Hide widget on non translatable URL * Improve max file size HTML ## 2.0.1 (19/07/2018) * Improve flag style * Prevent cURL function * Solved nav_class warning ## 2.0 (18/07/2018) * Major changes on the plugin architecture * Adding developer functions & filters * Refactoring ## 1.13.1 (01/06/2018) * Bugfix: Error on the encoding of ignored nodes ## 1.13 (31/05/2018) * Bugfix : Improve filter words_translate to prevent matching part of words * BugFix : Bug in parser when ignored node had an attribute * BugFix : character limit on chinese paragraphs * Add : Update message for version 2.0 ## 1.12.2 (04/05/2018) * Bugfix : Limitation on the number of characters translated at the same time ## 1.12.1 (03/05/2018) * Bugfix : error for users with a version lower than PHP 5.4 . []> array() ## 1.12 (03/05/2018) * Bugfix : undefined index on ajax call * Bugfix : Redirection checkout payment on WooCommerce * Bugfix : Register widget * Add option for AMP compatibility * Add filter for dynamic string ## 1.11 (05/04/2018) * Add new languages * Add new filters * Add Yoast Premium compatibility on redirect * Bugfix : Exclusion AMP * Bugfix : Redirection checkout order on WooCommerce ## 1.10 * Add new languages + add Oman flag * Can potentially translate email sent from admin * Add tags to inline elements to ignore when parsing ## 1.9.3 * Remove Freemius ## 1.9.2 * Fix Freemius assets ## 1.9.1 * Fix Freemius error when changing base dir * Fix wc translations when special characters. ## 1.9 * Fix login redirection * Add translation for Town, cities and other dynamic fields in WC checkout * exclude URL now accepts full URL and any blank separator ## 1.8.2 * Fix pb when permalinks has no ending slash * Add notif when plugin is not congigured ## 1.8.1 * Fix redirection on woocommerce ## 1.8 * Add new banner and icon * improve wc redirection * can now translate email ## 1.7.1 * Fix redirection bug on cart ## 1.7 * Add 6 languages * Translate microdata * New element translated ## 1.6.1 * Fix url when non standard characters * change freemius image ## 1.6 * Add Freemius * Refactor code * Replace api ur * Add several attributes to translations ## 1.5 * Add data-value, data-title, title attribute support * Add links in readme ## 1.4.6 * Add pretty selection of languages * Improve flags quality ## 1.4.5 * Add more i18n luv. Now we speak WordPress * Add Dutch, English_UK, German, Italian, Portuguese_BR, Russian and Spanish languages ## 1.4.4 * Update i18n and improve strings ## 1.4.3 * Compat with WP Fastest cache, improve RTL translations ## 1.4.2 * PHP 7 compat, add auto redirect feature, no more FA, no more id on switcher ## 1.4.1 * compat AMP, fix url bug on same language code than URL. ## 1.4.0 * compat precaching, URLs ## 1.3.3 * increase compatibility with other plugins and themes. ## 1.3.2 * change support email * exclude /amp, admin bar * language on starter plan ## 1.3.1 * Fix invalid links * Handles multiple weglot_here ## 1.3.0 * rollbackink parsing lib * fix srcset, dslash link ## 1.2.8 * parsing lib changed * fix several small bugs ## 1.2.7 * Adding Traditional Chinese * Fix og:url * scrybs ## 1.2.6 * Fix jpeg translated version * Fix moreclass and wg-notranslate on list button in menu * Fix ajax json with html in it ## 1.2.5 * Add other flags for english, spanish & portugese translations * Review style for translation button in menu * Add translation exclusion blocks by CSS selectors ## 1.2.4 * Adding Hindi & Urdu translation languages. * Adding version number on scripts. ## 1.2.3 * Code review and optimization ## 1.2.2 * WP Compliance ## 1.2.1 * Fix style on dropdown list * Fix link containing "admin" word ## 1.2 * New choice of flags made by professional designers for your translation switch button. Rectangle mat, rectangle bright, square and circle. Enjoy! * Add a "Settings" link under Weglot Translate in pugin list. ## 1.1 * Add naviguation menu hook to let user display button in menu. * Add possibility to show only flags * Show warnings if PHP version is under 5.2 or rewrite rules not activated * Rename simple html dom constant and handle no php-mbstring case * Fix front page show box when home dir ## 1.0 * Change portugese flag to brazilian, change limit message, starting 1.0 versioning as we reach viable product. ## Older versions ## 0.1 * First version ## 0.2 * Fix label and languages parameters ## 0.3 * SEO now completly taken into account. ## 0.4 * small fix on links ## 0.5 * Fix rules + add url ## 0.6 * Fix rules + new button design ## 0.7 * Add meta translation, + regex eclusion ## 0.8 * Add input button, fix small bug on link ## 0.9 * Check rewrite rules are always here ## 0.10 * Quick fix for PHP 5.3 ## 0.11 * Fix ajax, FB compat ## 0.12 * Handle WP_HOME ## 0.13 * General review ## 0.14 * Prepare for localization ## 0.15 * Change link to weglot ## 0.16 * Place button by default ## 0.17 * Fix vc_ ## 0.18 * Fix cdata ## 0.19 * Http api integration ## 0.20 * Fix PHP 5.2 compat with anonymous function ## 0.21 * Change ob order for compatibility ## 0.22 * More flexibility in destination language ## 0.23 * Can have multiple youtube video for different languages ## 0.24 * Fix some links that had multiple lang tag ## 0.25 * Fix CSS style + subdirectory WP ## 0.26 * Now support images ## 0.27 * Adding 40+ languages + fix homepage bug ## 0.28 * Change button to customizable widget, also fix bug https+wp_home ## 0.29 * Fix is_html, add US flag possibility, fix link beginning with coutry code. ## 0.30 * Fix style, add on-boarding to help users, add link to dashboard translations. ## 0.31 * Adding ajax support for full html, fix style, fix link with wp_home ## 0.32 * Quick fix on links ## 0.33 * Add ajax for json-html ## 0.34 * Adding chat support to help user set up the plugin ## 0.35 * Rework classes + add search support (form tag) ## 0.36 * Remove trial period, replace by free plan ## 0.37 * More info on errors, translation limit from api ## 0.38 * Fix canonical transated link, support RTL & LTR customization, WG logo to meet Wp standard, translate alt attribute, add possibility to drop button anywhere ## 0.39 * Fix LTR CSS, api v2 transmit strings type, fix regex escaping ## 0.40 * Add PDF translate, fix simple dom limit, uninstall hook, no </body> case.