Version Description
(2019-04-16) =
- Add de_AT and pt_AO to the predefined languages list
- Pro: Add filter pll_translate_blocks
- Pro: fix PHP notice when the queried post type has been modified to an array
- Pro: fix PHP warning when combined with The Event Calendar and Page builder by SiteOrigin
Download this release
Release Info
Developer | Chouby |
Plugin | Polylang |
Version | 2.5.3 |
Comparing to | |
See all releases |
Code changes from version 2.5.2 to 2.5.3
- polylang.php +2 -2
- readme.txt +8 -1
- settings/languages.php +16 -0
polylang.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/**
|
4 |
Plugin Name: Polylang
|
5 |
Plugin URI: https://polylang.pro
|
6 |
-
Version: 2.5.
|
7 |
Author: Frédéric Demarle
|
8 |
Author uri: https://polylang.pro
|
9 |
Description: Adds multilingual capability to WordPress
|
@@ -53,7 +53,7 @@ if ( defined( 'POLYLANG_BASENAME' ) ) {
|
|
53 |
}
|
54 |
} else {
|
55 |
// Go on loading the plugin
|
56 |
-
define( 'POLYLANG_VERSION', '2.5.
|
57 |
define( 'PLL_MIN_WP_VERSION', '4.7' );
|
58 |
|
59 |
define( 'POLYLANG_FILE', __FILE__ ); // this file
|
3 |
/**
|
4 |
Plugin Name: Polylang
|
5 |
Plugin URI: https://polylang.pro
|
6 |
+
Version: 2.5.3
|
7 |
Author: Frédéric Demarle
|
8 |
Author uri: https://polylang.pro
|
9 |
Description: Adds multilingual capability to WordPress
|
53 |
}
|
54 |
} else {
|
55 |
// Go on loading the plugin
|
56 |
+
define( 'POLYLANG_VERSION', '2.5.3' );
|
57 |
define( 'PLL_MIN_WP_VERSION', '4.7' );
|
58 |
|
59 |
define( 'POLYLANG_FILE', __FILE__ ); // this file
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://polylang.pro
|
|
4 |
Tags: multilingual, bilingual, translate, translation, language, multilanguage, international, localization
|
5 |
Requires at least: 4.7
|
6 |
Tested up to: 5.1
|
7 |
-
Stable tag: 2.5.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Making WordPress multilingual
|
@@ -76,6 +76,13 @@ Don't hesitate to [give your feedback](http://wordpress.org/support/view/plugin-
|
|
76 |
|
77 |
== Changelog ==
|
78 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
= 2.5.2 (2019-02-12) =
|
80 |
|
81 |
* Pro: Fix translated slugs not accepting forward slashes
|
4 |
Tags: multilingual, bilingual, translate, translation, language, multilanguage, international, localization
|
5 |
Requires at least: 4.7
|
6 |
Tested up to: 5.1
|
7 |
+
Stable tag: 2.5.3
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Making WordPress multilingual
|
76 |
|
77 |
== Changelog ==
|
78 |
|
79 |
+
= 2.5.3 (2019-04-16) =
|
80 |
+
|
81 |
+
* Add de_AT and pt_AO to the predefined languages list
|
82 |
+
* Pro: Add filter pll_translate_blocks
|
83 |
+
* Pro: fix PHP notice when the queried post type has been modified to an array
|
84 |
+
* Pro: fix PHP warning when combined with The Event Calendar and Page builder by SiteOrigin
|
85 |
+
|
86 |
= 2.5.2 (2019-02-12) =
|
87 |
|
88 |
* Pro: Fix translated slugs not accepting forward slashes
|
settings/languages.php
CHANGED
@@ -190,6 +190,14 @@ $languages = array(
|
|
190 |
'flag' => 'dk',
|
191 |
'facebook' => 'da_DK',
|
192 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
193 |
'de_CH' => array(
|
194 |
'code' => 'de',
|
195 |
'locale' => 'de_CH',
|
@@ -807,6 +815,14 @@ $languages = array(
|
|
807 |
'flag' => 'af',
|
808 |
'facebook' => 'ps_AF',
|
809 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
810 |
'pt_BR' => array(
|
811 |
'code' => 'pt',
|
812 |
'locale' => 'pt_BR',
|
190 |
'flag' => 'dk',
|
191 |
'facebook' => 'da_DK',
|
192 |
),
|
193 |
+
'de_AT' => array(
|
194 |
+
'code' => 'de',
|
195 |
+
'locale' => 'de_AT',
|
196 |
+
'name' => 'Deutsch',
|
197 |
+
'dir' => 'ltr',
|
198 |
+
'flag' => 'at',
|
199 |
+
'facebook' => 'de_DE',
|
200 |
+
),
|
201 |
'de_CH' => array(
|
202 |
'code' => 'de',
|
203 |
'locale' => 'de_CH',
|
815 |
'flag' => 'af',
|
816 |
'facebook' => 'ps_AF',
|
817 |
),
|
818 |
+
'pt_AO' => array(
|
819 |
+
'code' => 'pt',
|
820 |
+
'locale' => 'pt_AO',
|
821 |
+
'name' => 'Português',
|
822 |
+
'dir' => 'ltr',
|
823 |
+
'flag' => 'ao',
|
824 |
+
'facebook' => 'pt_PT',
|
825 |
+
),
|
826 |
'pt_BR' => array(
|
827 |
'code' => 'pt',
|
828 |
'locale' => 'pt_BR',
|