Plugin Directory

Changeset 2521914 for polylang


Ignore:
Timestamp:
04/27/2021 08:13:06 AM (5 years ago)
Author:
Chouby
Message:

Version 3.0.4

Location:
polylang
Files:
15 deleted
8 edited
181 copied

Legend:

Unmodified
Added
Removed
  • polylang/tags/3.0.4/admin/admin-base.php

    r2501580 r2521914  
    311311                                    } else {
    312312                                        // Otherwise options.data is probably an object.
    313                                         options.data = Object.assign( options.data, <?php echo $arr; // phpcs:ignore WordPress.Security.EscapeOutput ?> );
     313                                        options.data = Object.assign( options.data || {} , <?php echo $arr; // phpcs:ignore WordPress.Security.EscapeOutput ?> );
    314314                                    }
    315315                                }
  • polylang/tags/3.0.4/admin/admin-filters-post.php

    r2475716 r2521914  
    9191        if ( 'edit' == $screen->base && is_post_type_hierarchical( $screen->post_type ) ) {
    9292            $pages = get_pages( array( 'sort_column' => 'menu_order, post_title' ) ); // Same arguments as the parent pages dropdown to avoid an extra query.
    93             update_post_caches( $pages, $screen->post_type );
     93
     94            update_post_caches( $pages, $screen->post_type, true, false );
    9495
    9596            $page_languages = array();
  • polylang/tags/3.0.4/changelog.txt

    r2467022 r2521914  
    22
    33This file contains only old changelog. See readme.txt for newer versions.
     4
     5= 2.9.2 (2021-02-02) =
     6
     7* Pro: Fix translation of CPTUI plural label and description not working
     8* Add Spanish (Ecuador) to the list of predefined languages
     9* Fix typo in "WordPress" string translation group. Props Viktor Szépe #682
     10
     11= 2.9.1 (2020-12-15) =
     12
     13* Fix PHP notice: Undefined property: PLL_Cache_Compat::$options with cache plugins. Props bahaa-almahamid. #658
     14* Fix title of the search results page with Yoast SEO > 14.0
     15
     16= 2.9 (2020-12-07) =
     17
     18* Add compatibility with WordPress 5.6
     19* Pro: Add locale fallback used when the theme or plugins translations are not available
     20* Pro: Fix SSO and browser preferred language redirect when using multiple domains
     21* Pro: Fix post slugs for German and Danish in the REST API
     22* Pro: Fix a fatal error in ACF integration when saving url modifications with multiple domains
     23* Pro: Fix a deprecated notice fired by ACF since the version 5.9.2
     24* Pro: Fix ACF relationship fields not reloaded when changing the language in the classic editor
     25* Update plugin updater to version 1.8
     26* Add Lower Sorbian to the list of predefined language
     27* Options are now translated on backend when using the admin language filter
     28* Keep previous translations when modifying an option value
     29* Add navigation markup to the language switcher widget
     30* Fix canonical redirect for taxonomy terms
     31* Fix a fatal error when deleting a post with a translation group corrupted in the database
     32* Fix a fatal error when switching to plain permalinks and using multiple domains
     33* Fix a conflict with WP Sweep which could corrupt languages
     34* Fix title displayed instead of meta description with Yoast SEO > 14.0
     35* Fix PHP Notice: Undefined index: wp_the_query in /frontend/choose-lang-content.php on line 92
    436
    537= 2.8.4 (2020-11-03) =
  • polylang/tags/3.0.4/polylang.php

    r2501580 r2521914  
    1111 * Plugin URI:        https://polylang.pro
    1212 * Description:       Adds multilingual capability to WordPress
    13  * Version:           3.0.3
     13 * Version:           3.0.4
    1414 * Requires at least: 5.1
    1515 * Requires PHP:      5.6
     
    5454} else {
    5555    // Go on loading the plugin
    56     define( 'POLYLANG_VERSION', '3.0.3' );
     56    define( 'POLYLANG_VERSION', '3.0.4' );
    5757    define( 'PLL_MIN_WP_VERSION', '5.1' );
    5858    define( 'PLL_MIN_PHP_VERSION', '5.6' );
  • polylang/tags/3.0.4/readme.txt

    r2501580 r2521914  
    66Tested up to: 5.7
    77Requires PHP: 5.6
    8 Stable tag: 3.0.3
     8Stable tag: 3.0.4
    99License: GPLv3 or later
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    7979== Changelog ==
    8080
     81= 3.0.4 (2021-04-27) =
     82
     83* Improve performance in the pages (or hierarchical post types) list table
     84* Fix an ajax conflict with WooCommerce License manager
     85
    8186= 3.0.3 (2021-03-23) =
    8287
     
    134139* Fix PHP notice in REST API
    135140
    136 = 2.9.2 (2021-02-02) =
    137 
    138 * Pro: Fix translation of CPTUI plural label and description not working
    139 * Add Spanish (Ecuador) to the list of predefined languages
    140 * Fix typo in "WordPress" string translation group. Props Viktor Szépe #682
    141 
    142 = 2.9.1 (2020-12-15) =
    143 
    144 * Fix PHP notice: Undefined property: PLL_Cache_Compat::$options with cache plugins. Props bahaa-almahamid. #658
    145 * Fix title of the search results page with Yoast SEO > 14.0
    146 
    147 = 2.9 (2020-12-07) =
    148 
    149 * Add compatibility with WordPress 5.6
    150 * Pro: Add locale fallback used when the theme or plugins translations are not available
    151 * Pro: Fix SSO and browser preferred language redirect when using multiple domains
    152 * Pro: Fix post slugs for German and Danish in the REST API
    153 * Pro: Fix a fatal error in ACF integration when saving url modifications with multiple domains
    154 * Pro: Fix a deprecated notice fired by ACF since the version 5.9.2
    155 * Pro: Fix ACF relationship fields not reloaded when changing the language in the classic editor
    156 * Update plugin updater to version 1.8
    157 * Add Lower Sorbian to the list of predefined language
    158 * Options are now translated on backend when using the admin language filter
    159 * Keep previous translations when modifying an option value
    160 * Add navigation markup to the language switcher widget
    161 * Fix canonical redirect for taxonomy terms
    162 * Fix a fatal error when deleting a post with a translation group corrupted in the database
    163 * Fix a fatal error when switching to plain permalinks and using multiple domains
    164 * Fix a conflict with WP Sweep which could corrupt languages
    165 * Fix title displayed instead of meta description with Yoast SEO > 14.0
    166 * Fix PHP Notice: Undefined index: wp_the_query in /frontend/choose-lang-content.php on line 92
    167 
    168141See [changelog.txt](https://plugins.svn.wordpress.org/polylang/trunk/changelog.txt) for older changelog
  • polylang/tags/3.0.4/vendor/autoload.php

    r2492421 r2521914  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit5ee0dd77da0f415ad9a86c8a505132ac::getLoader();
     7return ComposerAutoloaderInit57e007bdf76a1fe336cb43b59389545b::getLoader();
  • polylang/tags/3.0.4/vendor/composer/autoload_real.php

    r2492421 r2521914  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit5ee0dd77da0f415ad9a86c8a505132ac
     5class ComposerAutoloaderInit57e007bdf76a1fe336cb43b59389545b
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit5ee0dd77da0f415ad9a86c8a505132ac', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit57e007bdf76a1fe336cb43b59389545b', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    27         spl_autoload_unregister(array('ComposerAutoloaderInit5ee0dd77da0f415ad9a86c8a505132ac', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit57e007bdf76a1fe336cb43b59389545b', 'loadClassLoader'));
    2828
    2929        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3131            require_once __DIR__ . '/autoload_static.php';
    3232
    33             call_user_func(\Composer\Autoload\ComposerStaticInit5ee0dd77da0f415ad9a86c8a505132ac::getInitializer($loader));
     33            call_user_func(\Composer\Autoload\ComposerStaticInit57e007bdf76a1fe336cb43b59389545b::getInitializer($loader));
    3434        } else {
    3535            $map = require __DIR__ . '/autoload_namespaces.php';
  • polylang/tags/3.0.4/vendor/composer/autoload_static.php

    r2492421 r2521914  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit5ee0dd77da0f415ad9a86c8a505132ac
     7class ComposerStaticInit57e007bdf76a1fe336cb43b59389545b
    88{
    99    public static $classMap = array (
     
    132132    {
    133133        return \Closure::bind(function () use ($loader) {
    134             $loader->classMap = ComposerStaticInit5ee0dd77da0f415ad9a86c8a505132ac::$classMap;
     134            $loader->classMap = ComposerStaticInit57e007bdf76a1fe336cb43b59389545b::$classMap;
    135135
    136136        }, null, ClassLoader::class);
  • polylang/trunk/admin/admin-base.php

    r2501580 r2521914  
    311311                                    } else {
    312312                                        // Otherwise options.data is probably an object.
    313                                         options.data = Object.assign( options.data, <?php echo $arr; // phpcs:ignore WordPress.Security.EscapeOutput ?> );
     313                                        options.data = Object.assign( options.data || {} , <?php echo $arr; // phpcs:ignore WordPress.Security.EscapeOutput ?> );
    314314                                    }
    315315                                }
  • polylang/trunk/admin/admin-filters-post.php

    r2475716 r2521914  
    9191        if ( 'edit' == $screen->base && is_post_type_hierarchical( $screen->post_type ) ) {
    9292            $pages = get_pages( array( 'sort_column' => 'menu_order, post_title' ) ); // Same arguments as the parent pages dropdown to avoid an extra query.
    93             update_post_caches( $pages, $screen->post_type );
     93
     94            update_post_caches( $pages, $screen->post_type, true, false );
    9495
    9596            $page_languages = array();
  • polylang/trunk/changelog.txt

    r2467022 r2521914  
    22
    33This file contains only old changelog. See readme.txt for newer versions.
     4
     5= 2.9.2 (2021-02-02) =
     6
     7* Pro: Fix translation of CPTUI plural label and description not working
     8* Add Spanish (Ecuador) to the list of predefined languages
     9* Fix typo in "WordPress" string translation group. Props Viktor Szépe #682
     10
     11= 2.9.1 (2020-12-15) =
     12
     13* Fix PHP notice: Undefined property: PLL_Cache_Compat::$options with cache plugins. Props bahaa-almahamid. #658
     14* Fix title of the search results page with Yoast SEO > 14.0
     15
     16= 2.9 (2020-12-07) =
     17
     18* Add compatibility with WordPress 5.6
     19* Pro: Add locale fallback used when the theme or plugins translations are not available
     20* Pro: Fix SSO and browser preferred language redirect when using multiple domains
     21* Pro: Fix post slugs for German and Danish in the REST API
     22* Pro: Fix a fatal error in ACF integration when saving url modifications with multiple domains
     23* Pro: Fix a deprecated notice fired by ACF since the version 5.9.2
     24* Pro: Fix ACF relationship fields not reloaded when changing the language in the classic editor
     25* Update plugin updater to version 1.8
     26* Add Lower Sorbian to the list of predefined language
     27* Options are now translated on backend when using the admin language filter
     28* Keep previous translations when modifying an option value
     29* Add navigation markup to the language switcher widget
     30* Fix canonical redirect for taxonomy terms
     31* Fix a fatal error when deleting a post with a translation group corrupted in the database
     32* Fix a fatal error when switching to plain permalinks and using multiple domains
     33* Fix a conflict with WP Sweep which could corrupt languages
     34* Fix title displayed instead of meta description with Yoast SEO > 14.0
     35* Fix PHP Notice: Undefined index: wp_the_query in /frontend/choose-lang-content.php on line 92
    436
    537= 2.8.4 (2020-11-03) =
  • polylang/trunk/polylang.php

    r2501580 r2521914  
    1111 * Plugin URI:        https://polylang.pro
    1212 * Description:       Adds multilingual capability to WordPress
    13  * Version:           3.0.3
     13 * Version:           3.0.4
    1414 * Requires at least: 5.1
    1515 * Requires PHP:      5.6
     
    5454} else {
    5555    // Go on loading the plugin
    56     define( 'POLYLANG_VERSION', '3.0.3' );
     56    define( 'POLYLANG_VERSION', '3.0.4' );
    5757    define( 'PLL_MIN_WP_VERSION', '5.1' );
    5858    define( 'PLL_MIN_PHP_VERSION', '5.6' );
  • polylang/trunk/readme.txt

    r2501580 r2521914  
    66Tested up to: 5.7
    77Requires PHP: 5.6
    8 Stable tag: 3.0.3
     8Stable tag: 3.0.4
    99License: GPLv3 or later
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    7979== Changelog ==
    8080
     81= 3.0.4 (2021-04-27) =
     82
     83* Improve performance in the pages (or hierarchical post types) list table
     84* Fix an ajax conflict with WooCommerce License manager
     85
    8186= 3.0.3 (2021-03-23) =
    8287
     
    134139* Fix PHP notice in REST API
    135140
    136 = 2.9.2 (2021-02-02) =
    137 
    138 * Pro: Fix translation of CPTUI plural label and description not working
    139 * Add Spanish (Ecuador) to the list of predefined languages
    140 * Fix typo in "WordPress" string translation group. Props Viktor Szépe #682
    141 
    142 = 2.9.1 (2020-12-15) =
    143 
    144 * Fix PHP notice: Undefined property: PLL_Cache_Compat::$options with cache plugins. Props bahaa-almahamid. #658
    145 * Fix title of the search results page with Yoast SEO > 14.0
    146 
    147 = 2.9 (2020-12-07) =
    148 
    149 * Add compatibility with WordPress 5.6
    150 * Pro: Add locale fallback used when the theme or plugins translations are not available
    151 * Pro: Fix SSO and browser preferred language redirect when using multiple domains
    152 * Pro: Fix post slugs for German and Danish in the REST API
    153 * Pro: Fix a fatal error in ACF integration when saving url modifications with multiple domains
    154 * Pro: Fix a deprecated notice fired by ACF since the version 5.9.2
    155 * Pro: Fix ACF relationship fields not reloaded when changing the language in the classic editor
    156 * Update plugin updater to version 1.8
    157 * Add Lower Sorbian to the list of predefined language
    158 * Options are now translated on backend when using the admin language filter
    159 * Keep previous translations when modifying an option value
    160 * Add navigation markup to the language switcher widget
    161 * Fix canonical redirect for taxonomy terms
    162 * Fix a fatal error when deleting a post with a translation group corrupted in the database
    163 * Fix a fatal error when switching to plain permalinks and using multiple domains
    164 * Fix a conflict with WP Sweep which could corrupt languages
    165 * Fix title displayed instead of meta description with Yoast SEO > 14.0
    166 * Fix PHP Notice: Undefined index: wp_the_query in /frontend/choose-lang-content.php on line 92
    167 
    168141See [changelog.txt](https://plugins.svn.wordpress.org/polylang/trunk/changelog.txt) for older changelog
  • polylang/trunk/vendor/autoload.php

    r2492421 r2521914  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit5ee0dd77da0f415ad9a86c8a505132ac::getLoader();
     7return ComposerAutoloaderInit57e007bdf76a1fe336cb43b59389545b::getLoader();
  • polylang/trunk/vendor/composer/autoload_real.php

    r2492421 r2521914  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit5ee0dd77da0f415ad9a86c8a505132ac
     5class ComposerAutoloaderInit57e007bdf76a1fe336cb43b59389545b
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit5ee0dd77da0f415ad9a86c8a505132ac', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit57e007bdf76a1fe336cb43b59389545b', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    27         spl_autoload_unregister(array('ComposerAutoloaderInit5ee0dd77da0f415ad9a86c8a505132ac', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit57e007bdf76a1fe336cb43b59389545b', 'loadClassLoader'));
    2828
    2929        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3131            require_once __DIR__ . '/autoload_static.php';
    3232
    33             call_user_func(\Composer\Autoload\ComposerStaticInit5ee0dd77da0f415ad9a86c8a505132ac::getInitializer($loader));
     33            call_user_func(\Composer\Autoload\ComposerStaticInit57e007bdf76a1fe336cb43b59389545b::getInitializer($loader));
    3434        } else {
    3535            $map = require __DIR__ . '/autoload_namespaces.php';
  • polylang/trunk/vendor/composer/autoload_static.php

    r2492421 r2521914  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit5ee0dd77da0f415ad9a86c8a505132ac
     7class ComposerStaticInit57e007bdf76a1fe336cb43b59389545b
    88{
    99    public static $classMap = array (
     
    132132    {
    133133        return \Closure::bind(function () use ($loader) {
    134             $loader->classMap = ComposerStaticInit5ee0dd77da0f415ad9a86c8a505132ac::$classMap;
     134            $loader->classMap = ComposerStaticInit57e007bdf76a1fe336cb43b59389545b::$classMap;
    135135
    136136        }, null, ClassLoader::class);
Note: See TracChangeset for help on using the changeset viewer.