Changeset 3433336
- Timestamp:
- 01/06/2026 08:21:20 AM (2 months ago)
- Location:
- polylang
- Files:
-
- 10 edited
- 27 copied
-
assets/banner-1544x500.png (modified) (previous)
-
assets/banner-772x250.png (modified) (previous)
-
assets/icon-128x128.png (modified) (previous)
-
assets/icon-256x256.png (modified) (previous)
-
tags/3.7.6 (copied) (copied from polylang/trunk)
-
tags/3.7.6/admin/admin-base.php (copied) (copied from polylang/trunk/admin/admin-base.php)
-
tags/3.7.6/admin/admin-notices.php (copied) (copied from polylang/trunk/admin/admin-notices.php)
-
tags/3.7.6/frontend/canonical.php (copied) (copied from polylang/trunk/frontend/canonical.php)
-
tags/3.7.6/frontend/frontend-filters-links.php (copied) (copied from polylang/trunk/frontend/frontend-filters-links.php)
-
tags/3.7.6/include/filters.php (copied) (copied from polylang/trunk/include/filters.php)
-
tags/3.7.6/include/license.php (copied) (copied from polylang/trunk/include/license.php)
-
tags/3.7.6/install/plugin-updater.php (copied) (copied from polylang/trunk/install/plugin-updater.php)
-
tags/3.7.6/js/build/admin.min.js (copied) (copied from polylang/trunk/js/build/admin.min.js)
-
tags/3.7.6/js/build/block-editor.min.js (copied) (copied from polylang/trunk/js/build/block-editor.min.js)
-
tags/3.7.6/js/build/classic-editor.min.js (copied) (copied from polylang/trunk/js/build/classic-editor.min.js)
-
tags/3.7.6/js/build/languages-step.min.js (copied) (copied from polylang/trunk/js/build/languages-step.min.js)
-
tags/3.7.6/js/build/media.min.js (copied) (copied from polylang/trunk/js/build/media.min.js)
-
tags/3.7.6/js/build/nav-menu.min.js (copied) (copied from polylang/trunk/js/build/nav-menu.min.js)
-
tags/3.7.6/js/build/post.js (modified) (1 diff)
-
tags/3.7.6/js/build/post.min.js (copied) (copied from polylang/trunk/js/build/post.min.js) (1 diff)
-
tags/3.7.6/js/build/settings.min.js (copied) (copied from polylang/trunk/js/build/settings.min.js)
-
tags/3.7.6/js/build/term.min.js (copied) (copied from polylang/trunk/js/build/term.min.js)
-
tags/3.7.6/js/build/user.min.js (copied) (copied from polylang/trunk/js/build/user.min.js)
-
tags/3.7.6/js/build/widgets.min.js (copied) (copied from polylang/trunk/js/build/widgets.min.js)
-
tags/3.7.6/modules/sync/sync-metas.php (copied) (copied from polylang/trunk/modules/sync/sync-metas.php)
-
tags/3.7.6/modules/wizard/view-wizard-step-last.php (copied) (copied from polylang/trunk/modules/wizard/view-wizard-step-last.php)
-
tags/3.7.6/modules/wpml/wpml-legacy-api.php (copied) (copied from polylang/trunk/modules/wpml/wpml-legacy-api.php)
-
tags/3.7.6/polylang.php (copied) (copied from polylang/trunk/polylang.php) (3 diffs)
-
tags/3.7.6/readme.txt (copied) (copied from polylang/trunk/readme.txt) (3 diffs)
-
tags/3.7.6/settings/languages.php (copied) (copied from polylang/trunk/settings/languages.php)
-
tags/3.7.6/settings/view-about.php (copied) (copied from polylang/trunk/settings/view-about.php)
-
tags/3.7.6/vendor/composer/installed.php (copied) (copied from polylang/trunk/vendor/composer/installed.php) (2 diffs)
-
trunk/js/build/post.js (modified) (1 diff)
-
trunk/js/build/post.min.js (modified) (1 diff)
-
trunk/polylang.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
polylang/tags/3.7.6/js/build/post.js
r3312354 r3433336 65 65 terms, 66 66 function ( i ) { 67 id = '#' + tax + '-' + pll_term_languages[ lg ][ tax ][ i ]; 68 lang == lg ? $( id ).show() : $( id ).hide(); 67 // Backward compatibility with WordPress < 6.7. 68 // Support both old (WP < 6.7) and new (WP >= 6.7) ID formats. 69 // Old format: category-123 (WordPress < 6.7). 70 // New format: in-category-123-1 (WordPress >= 6.7). 71 const termId = pll_term_languages[ lg ][ tax ][ i ]; 72 const selector = `#${tax}-${termId}, [id^="in-${tax}-${termId}-"]`; 73 $( selector ).toggle( lang === lg ); 69 74 } 70 75 ); -
polylang/tags/3.7.6/js/build/post.min.js
r3392807 r3433336 1 jQuery(function(n){n.ajaxPrefilter(function(e,t,a){"string"==typeof e.data&&-1!==e.data.indexOf("action=ajax-tag-search")&&(lang=n(':input[name="inline_lang_choice"]').val())&&(e.data="lang="+lang+"&"+e.data)})}),jQuery(function(n){const e=document.getElementById("the-list");if(!e)return;new MutationObserver(e=>{for(const i of e){const o=Array.from(i.addedNodes).filter(n=>n.nodeType===Node.ELEMENT_NODE)[0];if(0<i.addedNodes.length&&o.classList.contains("inline-editor")){const s=Number(o.id.substring(5));if(s>0){const l=o.querySelector('select[name="inline_lang_choice"]'), r=document.querySelector("#lang_"+String(s)).innerHTML;l.value=r,t(r),a(r),l.addEventListener("change",function(n){const e=n.target.value;t(e),a(e)})}}function t(e){"undefined"!=typeof pll_term_languages&&n.each(pll_term_languages,function(t,a){n.each(a,function(a,i){n.each(i,function(i){id="#"+a+"-"+pll_term_languages[t][a][i],e==t?n(id).show():n(id).hide()})})})}function a(e){"undefined"!=typeof pll_page_languages&&n.each(pll_page_languages,function(t,a){n.each(a,function(a){v=n('#post_parent option[value="'+pll_page_languages[t][a]+'"]'),e==t?v.show():v.hide()})})}}}).observe(e,{childList:!0,subtree:!0})}),jQuery(function(n){n(document).ajaxSuccess(function(e,t,a){if("string"==typeof a.data){var i=wpAjax.unserialize(a.data);void 0!==i.action&&"inline-save"==i.action&&function(e){var t=new Array;n(".translation_"+e).each(function(){t.push(n(this).parent().parent().attr("id").substring(5))});var a={action:"pll_update_post_rows",post_id:e,translations:t.join(","),post_type:n("input[name='post_type']").val(),screen:n("input[name='screen']").val(),_pll_nonce:n("input[name='_inline_edit']").val()};n.post(ajaxurl,a,function(e){if(e){var t=wpAjax.parseAjaxResponse(e,"pll-ajax-response");n.each(t.responses,function(){"row"==this.what&&n("#post-"+this.supplemental.post_id).replaceWith(this.data)})}})}(i.post_ID)}})});1 jQuery(function(n){n.ajaxPrefilter(function(e,t,a){"string"==typeof e.data&&-1!==e.data.indexOf("action=ajax-tag-search")&&(lang=n(':input[name="inline_lang_choice"]').val())&&(e.data="lang="+lang+"&"+e.data)})}),jQuery(function(n){const e=document.getElementById("the-list");if(!e)return;new MutationObserver(e=>{for(const i of e){const o=Array.from(i.addedNodes).filter(n=>n.nodeType===Node.ELEMENT_NODE)[0];if(0<i.addedNodes.length&&o.classList.contains("inline-editor")){const s=Number(o.id.substring(5));if(s>0){const l=o.querySelector('select[name="inline_lang_choice"]'),c=document.querySelector("#lang_"+String(s)).innerHTML;l.value=c,t(c),a(c),l.addEventListener("change",function(n){const e=n.target.value;t(e),a(e)})}}function t(e){"undefined"!=typeof pll_term_languages&&n.each(pll_term_languages,function(t,a){n.each(a,function(a,i){n.each(i,function(i){const o=pll_term_languages[t][a][i];n(`#${a}-${o}, [id^="in-${a}-${o}-"]`).toggle(e===t)})})})}function a(e){"undefined"!=typeof pll_page_languages&&n.each(pll_page_languages,function(t,a){n.each(a,function(a){v=n('#post_parent option[value="'+pll_page_languages[t][a]+'"]'),e==t?v.show():v.hide()})})}}}).observe(e,{childList:!0,subtree:!0})}),jQuery(function(n){n(document).ajaxSuccess(function(e,t,a){if("string"==typeof a.data){var i=wpAjax.unserialize(a.data);void 0!==i.action&&"inline-save"==i.action&&function(e){var t=new Array;n(".translation_"+e).each(function(){t.push(n(this).parent().parent().attr("id").substring(5))});var a={action:"pll_update_post_rows",post_id:e,translations:t.join(","),post_type:n("input[name='post_type']").val(),screen:n("input[name='screen']").val(),_pll_nonce:n("input[name='_inline_edit']").val()};n.post(ajaxurl,a,function(e){if(e){var t=wpAjax.parseAjaxResponse(e,"pll-ajax-response");n.each(t.responses,function(){"row"==this.what&&n("#post-"+this.supplemental.post_id).replaceWith(this.data)})}})}(i.post_ID)}})}); -
polylang/tags/3.7.6/polylang.php
r3392807 r3433336 11 11 * Plugin URI: https://polylang.pro 12 12 * Description: Adds multilingual capability to WordPress 13 * Version: 3.7. 513 * Version: 3.7.6 14 14 * Requires at least: 6.2 15 15 * Requires PHP: 7.2 … … 21 21 * 22 22 * Copyright 2011-2019 Frédéric Demarle 23 * Copyright 2019-202 5WP SYNTEX23 * Copyright 2019-2026 WP SYNTEX 24 24 * 25 25 * This program is free software: you can redistribute it and/or modify … … 53 53 } else { 54 54 // Go on loading the plugin 55 define( 'POLYLANG_VERSION', '3.7. 5' );55 define( 'POLYLANG_VERSION', '3.7.6' ); 56 56 define( 'PLL_MIN_WP_VERSION', '6.2' ); 57 57 define( 'PLL_MIN_PHP_VERSION', '7.2' ); -
polylang/tags/3.7.6/readme.txt
r3392807 r3433336 4 4 Tags: multilingual, translate, translation, language, localization 5 5 Requires at least: 6.2 6 Tested up to: 6. 86 Tested up to: 6.9 7 7 Requires PHP: 7.2 8 Stable tag: 3.7. 58 Stable tag: 3.7.6 9 9 License: GPLv3 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 107 107 == Changelog == 108 108 109 = 3.7.5 (2025-11-10) 109 = 3.7.6 (2026-01-06) = 110 111 * Pro: Add support for WP 6.9 new blocks #2790 112 * Pro: Fix insertion of navigation language switcher block in WP 6.9 #2847 113 * Pro: Fix current post URL in site editor for WP 6.8+ #2843 114 * Pro: Fix a conflict with Sensei LMS #2845 115 * Fix categories not filtered per post language in quick edit #1785 116 117 = 3.7.5 (2025-11-10) = 110 118 111 119 * Pro: Updated DeepL supported languages list … … 116 124 * Pro: Add `pll_enable_acf_labels_translation` filter allowing to disable the translation of ACF labels 117 125 * Pro: Fix ACF image field not correctly translated when media translation is active 118 * Pro: Fix ACF image field in re apeater not copied126 * Pro: Fix ACF image field in repeater not copied 119 127 * Pro: Fix ACF ajax request unexpectedly filtered by language when editing a field group 120 128 * Pro: Fix ACF blocks not translated when included inside a non-ACF block -
polylang/tags/3.7.6/vendor/composer/installed.php
r3392807 r3433336 4 4 'pretty_version' => '3.7.x-dev', 5 5 'version' => '3.7.9999999.9999999-dev', 6 'reference' => ' 42fc18dcda4fbcfb6b1533060a25f69f25f4abff',6 'reference' => 'e53db6a716d3f64e9cb1ee113f9c61e7924f86a0', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => '3.7.x-dev', 15 15 'version' => '3.7.9999999.9999999-dev', 16 'reference' => ' 42fc18dcda4fbcfb6b1533060a25f69f25f4abff',16 'reference' => 'e53db6a716d3f64e9cb1ee113f9c61e7924f86a0', 17 17 'type' => 'wordpress-plugin', 18 18 'install_path' => __DIR__ . '/../../', -
polylang/trunk/js/build/post.js
r3312354 r3433336 65 65 terms, 66 66 function ( i ) { 67 id = '#' + tax + '-' + pll_term_languages[ lg ][ tax ][ i ]; 68 lang == lg ? $( id ).show() : $( id ).hide(); 67 // Backward compatibility with WordPress < 6.7. 68 // Support both old (WP < 6.7) and new (WP >= 6.7) ID formats. 69 // Old format: category-123 (WordPress < 6.7). 70 // New format: in-category-123-1 (WordPress >= 6.7). 71 const termId = pll_term_languages[ lg ][ tax ][ i ]; 72 const selector = `#${tax}-${termId}, [id^="in-${tax}-${termId}-"]`; 73 $( selector ).toggle( lang === lg ); 69 74 } 70 75 ); -
polylang/trunk/js/build/post.min.js
r3392807 r3433336 1 jQuery(function(n){n.ajaxPrefilter(function(e,t,a){"string"==typeof e.data&&-1!==e.data.indexOf("action=ajax-tag-search")&&(lang=n(':input[name="inline_lang_choice"]').val())&&(e.data="lang="+lang+"&"+e.data)})}),jQuery(function(n){const e=document.getElementById("the-list");if(!e)return;new MutationObserver(e=>{for(const i of e){const o=Array.from(i.addedNodes).filter(n=>n.nodeType===Node.ELEMENT_NODE)[0];if(0<i.addedNodes.length&&o.classList.contains("inline-editor")){const s=Number(o.id.substring(5));if(s>0){const l=o.querySelector('select[name="inline_lang_choice"]'), r=document.querySelector("#lang_"+String(s)).innerHTML;l.value=r,t(r),a(r),l.addEventListener("change",function(n){const e=n.target.value;t(e),a(e)})}}function t(e){"undefined"!=typeof pll_term_languages&&n.each(pll_term_languages,function(t,a){n.each(a,function(a,i){n.each(i,function(i){id="#"+a+"-"+pll_term_languages[t][a][i],e==t?n(id).show():n(id).hide()})})})}function a(e){"undefined"!=typeof pll_page_languages&&n.each(pll_page_languages,function(t,a){n.each(a,function(a){v=n('#post_parent option[value="'+pll_page_languages[t][a]+'"]'),e==t?v.show():v.hide()})})}}}).observe(e,{childList:!0,subtree:!0})}),jQuery(function(n){n(document).ajaxSuccess(function(e,t,a){if("string"==typeof a.data){var i=wpAjax.unserialize(a.data);void 0!==i.action&&"inline-save"==i.action&&function(e){var t=new Array;n(".translation_"+e).each(function(){t.push(n(this).parent().parent().attr("id").substring(5))});var a={action:"pll_update_post_rows",post_id:e,translations:t.join(","),post_type:n("input[name='post_type']").val(),screen:n("input[name='screen']").val(),_pll_nonce:n("input[name='_inline_edit']").val()};n.post(ajaxurl,a,function(e){if(e){var t=wpAjax.parseAjaxResponse(e,"pll-ajax-response");n.each(t.responses,function(){"row"==this.what&&n("#post-"+this.supplemental.post_id).replaceWith(this.data)})}})}(i.post_ID)}})});1 jQuery(function(n){n.ajaxPrefilter(function(e,t,a){"string"==typeof e.data&&-1!==e.data.indexOf("action=ajax-tag-search")&&(lang=n(':input[name="inline_lang_choice"]').val())&&(e.data="lang="+lang+"&"+e.data)})}),jQuery(function(n){const e=document.getElementById("the-list");if(!e)return;new MutationObserver(e=>{for(const i of e){const o=Array.from(i.addedNodes).filter(n=>n.nodeType===Node.ELEMENT_NODE)[0];if(0<i.addedNodes.length&&o.classList.contains("inline-editor")){const s=Number(o.id.substring(5));if(s>0){const l=o.querySelector('select[name="inline_lang_choice"]'),c=document.querySelector("#lang_"+String(s)).innerHTML;l.value=c,t(c),a(c),l.addEventListener("change",function(n){const e=n.target.value;t(e),a(e)})}}function t(e){"undefined"!=typeof pll_term_languages&&n.each(pll_term_languages,function(t,a){n.each(a,function(a,i){n.each(i,function(i){const o=pll_term_languages[t][a][i];n(`#${a}-${o}, [id^="in-${a}-${o}-"]`).toggle(e===t)})})})}function a(e){"undefined"!=typeof pll_page_languages&&n.each(pll_page_languages,function(t,a){n.each(a,function(a){v=n('#post_parent option[value="'+pll_page_languages[t][a]+'"]'),e==t?v.show():v.hide()})})}}}).observe(e,{childList:!0,subtree:!0})}),jQuery(function(n){n(document).ajaxSuccess(function(e,t,a){if("string"==typeof a.data){var i=wpAjax.unserialize(a.data);void 0!==i.action&&"inline-save"==i.action&&function(e){var t=new Array;n(".translation_"+e).each(function(){t.push(n(this).parent().parent().attr("id").substring(5))});var a={action:"pll_update_post_rows",post_id:e,translations:t.join(","),post_type:n("input[name='post_type']").val(),screen:n("input[name='screen']").val(),_pll_nonce:n("input[name='_inline_edit']").val()};n.post(ajaxurl,a,function(e){if(e){var t=wpAjax.parseAjaxResponse(e,"pll-ajax-response");n.each(t.responses,function(){"row"==this.what&&n("#post-"+this.supplemental.post_id).replaceWith(this.data)})}})}(i.post_ID)}})}); -
polylang/trunk/polylang.php
r3392807 r3433336 11 11 * Plugin URI: https://polylang.pro 12 12 * Description: Adds multilingual capability to WordPress 13 * Version: 3.7. 513 * Version: 3.7.6 14 14 * Requires at least: 6.2 15 15 * Requires PHP: 7.2 … … 21 21 * 22 22 * Copyright 2011-2019 Frédéric Demarle 23 * Copyright 2019-202 5WP SYNTEX23 * Copyright 2019-2026 WP SYNTEX 24 24 * 25 25 * This program is free software: you can redistribute it and/or modify … … 53 53 } else { 54 54 // Go on loading the plugin 55 define( 'POLYLANG_VERSION', '3.7. 5' );55 define( 'POLYLANG_VERSION', '3.7.6' ); 56 56 define( 'PLL_MIN_WP_VERSION', '6.2' ); 57 57 define( 'PLL_MIN_PHP_VERSION', '7.2' ); -
polylang/trunk/readme.txt
r3392807 r3433336 4 4 Tags: multilingual, translate, translation, language, localization 5 5 Requires at least: 6.2 6 Tested up to: 6. 86 Tested up to: 6.9 7 7 Requires PHP: 7.2 8 Stable tag: 3.7. 58 Stable tag: 3.7.6 9 9 License: GPLv3 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 107 107 == Changelog == 108 108 109 = 3.7.5 (2025-11-10) 109 = 3.7.6 (2026-01-06) = 110 111 * Pro: Add support for WP 6.9 new blocks #2790 112 * Pro: Fix insertion of navigation language switcher block in WP 6.9 #2847 113 * Pro: Fix current post URL in site editor for WP 6.8+ #2843 114 * Pro: Fix a conflict with Sensei LMS #2845 115 * Fix categories not filtered per post language in quick edit #1785 116 117 = 3.7.5 (2025-11-10) = 110 118 111 119 * Pro: Updated DeepL supported languages list … … 116 124 * Pro: Add `pll_enable_acf_labels_translation` filter allowing to disable the translation of ACF labels 117 125 * Pro: Fix ACF image field not correctly translated when media translation is active 118 * Pro: Fix ACF image field in re apeater not copied126 * Pro: Fix ACF image field in repeater not copied 119 127 * Pro: Fix ACF ajax request unexpectedly filtered by language when editing a field group 120 128 * Pro: Fix ACF blocks not translated when included inside a non-ACF block -
polylang/trunk/vendor/composer/installed.php
r3392807 r3433336 4 4 'pretty_version' => '3.7.x-dev', 5 5 'version' => '3.7.9999999.9999999-dev', 6 'reference' => ' 42fc18dcda4fbcfb6b1533060a25f69f25f4abff',6 'reference' => 'e53db6a716d3f64e9cb1ee113f9c61e7924f86a0', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => '3.7.x-dev', 15 15 'version' => '3.7.9999999.9999999-dev', 16 'reference' => ' 42fc18dcda4fbcfb6b1533060a25f69f25f4abff',16 'reference' => 'e53db6a716d3f64e9cb1ee113f9c61e7924f86a0', 17 17 'type' => 'wordpress-plugin', 18 18 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.