Plugin Directory

Changeset 3433336


Ignore:
Timestamp:
01/06/2026 08:21:20 AM (2 months ago)
Author:
Chouby
Message:

Version 3.7.6

Location:
polylang
Files:
10 edited
27 copied

Legend:

Unmodified
Added
Removed
  • polylang/tags/3.7.6/js/build/post.js

    r3312354 r3433336  
    6565                                                terms,
    6666                                                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 );
    6974                                                }
    7075                                            );
  • 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)}})});
     1jQuery(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  
    1111 * Plugin URI:        https://polylang.pro
    1212 * Description:       Adds multilingual capability to WordPress
    13  * Version:           3.7.5
     13 * Version:           3.7.6
    1414 * Requires at least: 6.2
    1515 * Requires PHP:      7.2
     
    2121 *
    2222 * Copyright 2011-2019 Frédéric Demarle
    23  * Copyright 2019-2025 WP SYNTEX
     23 * Copyright 2019-2026 WP SYNTEX
    2424 *
    2525 * This program is free software: you can redistribute it and/or modify
     
    5353} else {
    5454    // Go on loading the plugin
    55     define( 'POLYLANG_VERSION', '3.7.5' );
     55    define( 'POLYLANG_VERSION', '3.7.6' );
    5656    define( 'PLL_MIN_WP_VERSION', '6.2' );
    5757    define( 'PLL_MIN_PHP_VERSION', '7.2' );
  • polylang/tags/3.7.6/readme.txt

    r3392807 r3433336  
    44Tags: multilingual, translate, translation, language, localization
    55Requires at least: 6.2
    6 Tested up to: 6.8
     6Tested up to: 6.9
    77Requires PHP: 7.2
    8 Stable tag: 3.7.5
     8Stable tag: 3.7.6
    99License: GPLv3 or later
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    107107== Changelog ==
    108108
    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) =
    110118
    111119* Pro: Updated DeepL supported languages list
     
    116124* Pro: Add `pll_enable_acf_labels_translation` filter allowing to disable the translation of ACF labels
    117125* Pro: Fix ACF image field not correctly translated when media translation is active
    118 * Pro: Fix ACF image field in reapeater not copied
     126* Pro: Fix ACF image field in repeater not copied
    119127* Pro: Fix ACF ajax request unexpectedly filtered by language when editing a field group
    120128* Pro: Fix ACF blocks not translated when included inside a non-ACF block
  • polylang/tags/3.7.6/vendor/composer/installed.php

    r3392807 r3433336  
    44        'pretty_version' => '3.7.x-dev',
    55        'version' => '3.7.9999999.9999999-dev',
    6         'reference' => '42fc18dcda4fbcfb6b1533060a25f69f25f4abff',
     6        'reference' => 'e53db6a716d3f64e9cb1ee113f9c61e7924f86a0',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => '3.7.x-dev',
    1515            'version' => '3.7.9999999.9999999-dev',
    16             'reference' => '42fc18dcda4fbcfb6b1533060a25f69f25f4abff',
     16            'reference' => 'e53db6a716d3f64e9cb1ee113f9c61e7924f86a0',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • polylang/trunk/js/build/post.js

    r3312354 r3433336  
    6565                                                terms,
    6666                                                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 );
    6974                                                }
    7075                                            );
  • 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)}})});
     1jQuery(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  
    1111 * Plugin URI:        https://polylang.pro
    1212 * Description:       Adds multilingual capability to WordPress
    13  * Version:           3.7.5
     13 * Version:           3.7.6
    1414 * Requires at least: 6.2
    1515 * Requires PHP:      7.2
     
    2121 *
    2222 * Copyright 2011-2019 Frédéric Demarle
    23  * Copyright 2019-2025 WP SYNTEX
     23 * Copyright 2019-2026 WP SYNTEX
    2424 *
    2525 * This program is free software: you can redistribute it and/or modify
     
    5353} else {
    5454    // Go on loading the plugin
    55     define( 'POLYLANG_VERSION', '3.7.5' );
     55    define( 'POLYLANG_VERSION', '3.7.6' );
    5656    define( 'PLL_MIN_WP_VERSION', '6.2' );
    5757    define( 'PLL_MIN_PHP_VERSION', '7.2' );
  • polylang/trunk/readme.txt

    r3392807 r3433336  
    44Tags: multilingual, translate, translation, language, localization
    55Requires at least: 6.2
    6 Tested up to: 6.8
     6Tested up to: 6.9
    77Requires PHP: 7.2
    8 Stable tag: 3.7.5
     8Stable tag: 3.7.6
    99License: GPLv3 or later
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    107107== Changelog ==
    108108
    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) =
    110118
    111119* Pro: Updated DeepL supported languages list
     
    116124* Pro: Add `pll_enable_acf_labels_translation` filter allowing to disable the translation of ACF labels
    117125* Pro: Fix ACF image field not correctly translated when media translation is active
    118 * Pro: Fix ACF image field in reapeater not copied
     126* Pro: Fix ACF image field in repeater not copied
    119127* Pro: Fix ACF ajax request unexpectedly filtered by language when editing a field group
    120128* Pro: Fix ACF blocks not translated when included inside a non-ACF block
  • polylang/trunk/vendor/composer/installed.php

    r3392807 r3433336  
    44        'pretty_version' => '3.7.x-dev',
    55        'version' => '3.7.9999999.9999999-dev',
    6         'reference' => '42fc18dcda4fbcfb6b1533060a25f69f25f4abff',
     6        'reference' => 'e53db6a716d3f64e9cb1ee113f9c61e7924f86a0',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => '3.7.x-dev',
    1515            'version' => '3.7.9999999.9999999-dev',
    16             'reference' => '42fc18dcda4fbcfb6b1533060a25f69f25f4abff',
     16            'reference' => 'e53db6a716d3f64e9cb1ee113f9c61e7924f86a0',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.