Version Description
( 2020-06-29) =
- Pro: Allow using our /untranslated-posts REST endpoint for non-public post types
- Pro: Fix broken display in the block editor sidebar when a language has no flag
- Pro: Fix SSO breaking the preview on secondary domains
- Pro: Fix ACF translation option not working for term custom fields
- Pro: Fix a styling issue in the fields group list table in ACF 5.9
- Add Spanish from Puerto Rico to the predefined list of languages
Download this release
Release Info
Developer | Chouby |
Plugin | Polylang |
Version | 2.7.4 |
Comparing to | |
See all releases |
Code changes from version 2.7.3 to 2.7.4
- css/admin.css +3 -2
- css/admin.min.css +1 -1
- polylang.php +2 -2
- readme.txt +10 -1
- settings/languages.php +8 -0
css/admin.css
CHANGED
@@ -151,9 +151,10 @@
|
|
151 |
}
|
152 |
|
153 |
/* language columns in edit.php and edit-tags.php */
|
154 |
-
th[class*='column-language_'],
|
155 |
-
td[class*='column-language_'] {
|
156 |
width: 1.5em;
|
|
|
157 |
}
|
158 |
|
159 |
/* Text direction in post.php and edit-tags.php */
|
151 |
}
|
152 |
|
153 |
/* language columns in edit.php and edit-tags.php */
|
154 |
+
.wp-list-table th[class*='column-language_'],
|
155 |
+
.wp-list-table td[class*='column-language_'] {
|
156 |
width: 1.5em;
|
157 |
+
box-sizing: content-box; /* Override ACF 5.9.0 styles */
|
158 |
}
|
159 |
|
160 |
/* Text direction in post.php and edit-tags.php */
|
css/admin.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
#add-lang select{width:95%}.column-locale,.languages .column-slug{width:15%}.column-default_lang{width:5%}.column-count,.column-flag,.column-term_group{width:10%}.icon-default-lang:before{font-family:dashicons;content:"\f155"}.pll-icon:before{display:inline-block;text-align:left;width:15px}.pll-circle:before{content:"\25cf"}.form-field input[type=radio]{width:auto;margin-right:2px}#pll-about-box p,#pll-recommended p{text-align:justify}#pll-about-box input{margin:0;padding:0;float:right}.stringstranslations .column-context,.stringstranslations .column-name{width:10%}.stringstranslations .column-string{width:33%}.translation label{display:inline-block;width:23%;vertical-align:top}.translation input,.translation textarea{width:72%}.pll-settings{margin-top:20px}.pll-settings .plugin-title{width:25%}#wpbody-content .pll-settings .pll-configure tr{display:table-row}#wpbody-content .pll-settings .pll-configure td{display:table-cell}#wpbody-content .pll-settings .pll-configure>td{padding:20px 20px 20px 40px}.pll-configure legend{font-size:14px;font-weight:600;margin-bottom:.5em}.pll-configure td .description{margin-top:2px;margin-bottom:.5em}.pll-configure p.submit{margin-top:20px}.pll-configure .button{margin-right:20px}.pll-configure fieldset{margin-bottom:1.5em}.pll-inline-block-list{margin:0}.pll-inline-block-list li{display:inline-block;margin:0;width:250px}#pll-domains-table td{padding:2px 2px 2px 1.5em;-webkit-box-shadow:none;box-shadow:none;border:none}.pll-settings-url-col{display:inline-block;width:49%;vertical-align:top}#pll-licenses-table td{vertical-align:top}#pll-licenses-table label{font-size:1em;font-weight:600}.pll-configure .pll-deactivate-license{margin:0 0 0 20px}td[class*=column-language_]
|
1 |
+
#add-lang select{width:95%}.column-locale,.languages .column-slug{width:15%}.column-default_lang{width:5%}.column-count,.column-flag,.column-term_group{width:10%}.icon-default-lang:before{font-family:dashicons;content:"\f155"}.pll-icon:before{display:inline-block;text-align:left;width:15px}.pll-circle:before{content:"\25cf"}.form-field input[type=radio]{width:auto;margin-right:2px}#pll-about-box p,#pll-recommended p{text-align:justify}#pll-about-box input{margin:0;padding:0;float:right}.stringstranslations .column-context,.stringstranslations .column-name{width:10%}.stringstranslations .column-string{width:33%}.translation label{display:inline-block;width:23%;vertical-align:top}.translation input,.translation textarea{width:72%}.pll-settings{margin-top:20px}.pll-settings .plugin-title{width:25%}#wpbody-content .pll-settings .pll-configure tr{display:table-row}#wpbody-content .pll-settings .pll-configure td{display:table-cell}#wpbody-content .pll-settings .pll-configure>td{padding:20px 20px 20px 40px}.pll-configure legend{font-size:14px;font-weight:600;margin-bottom:.5em}.pll-configure td .description{margin-top:2px;margin-bottom:.5em}.pll-configure p.submit{margin-top:20px}.pll-configure .button{margin-right:20px}.pll-configure fieldset{margin-bottom:1.5em}.pll-inline-block-list{margin:0}.pll-inline-block-list li{display:inline-block;margin:0;width:250px}#pll-domains-table td{padding:2px 2px 2px 1.5em;-webkit-box-shadow:none;box-shadow:none;border:none}.pll-settings-url-col{display:inline-block;width:49%;vertical-align:top}#pll-licenses-table td{vertical-align:top}#pll-licenses-table label{font-size:1em;font-weight:600}.pll-configure .pll-deactivate-license{margin:0 0 0 20px}.wp-list-table td[class*=column-language_],.wp-list-table th[class*=column-language_]{width:1.5em;box-sizing:content-box}.pll-dir-rtl input[type=text],.pll-dir-rtl textarea{direction:rtl}.pll-dir-ltr input[type=text],.pll-dir-ltr textarea{direction:ltr}.pll-dir-ltr .tr_lang,.pll-dir-rtl .tr_lang{direction:inherit}#post-translations p{float:left}#post-translations table{table-layout:fixed;width:100%;clear:both}#post-translations a{text-decoration:none}#post-translations .pll-column-icon,#post-translations .pll-language-column{width:20px}#post-translations .tr_lang{width:100%}#post-translations td{padding:2px}#post-translations .spinner,#term-translations .spinner{float:none;margin:0;background-position:center;width:auto}.pll-column-icon{text-align:center}#select-post-language .pll-select-flag{padding:4px;margin-right:32px}#select-media-language .pll-select-flag{padding:4px;margin-right:10px}.pll-media-edit-column{float:right}.pll-button{padding:0;height:20px;background:0 0;border:none;font-size:20px;cursor:pointer}.pll-button:not(.wp-ui-text-highlight){color:#ddd}#pll-duplicate{float:right;margin:13px 7px}.pll-translation-flag{margin-right:14px}#select-add-term-language .pll-select-flag{padding:11px;margin-right:13px}#select-edit-term-language .pll-select-flag{padding:11px;margin-right:4px}#term-translations p{font-weight:400;font-style:normal;padding:2px;color:#23282d}#add-term-translations,#edit-term-translations{width:95%}#term-translations .pll-language-column{line-height:28px;width:20%}#add-term-translations .pll-language-column,#term-translations .pll-edit-column{width:20px}#edit-term-translations .pll-language-column{padding:15px 10px;font-weight:400}.pll_icon_tick:before{content:"\f147"}.pll_icon_add:before{content:"\f132"}.pll_icon_edit:before{content:"\f464"}[class^=pll_icon_]{font:20px/1 dashicons;vertical-align:middle}#wpadminbar #wp-admin-bar-languages .ab-item img{margin:0 8px 0 2px}#wpadminbar #wp-admin-bar-languages #wp-admin-bar-all .ab-item .ab-icon{float:none;top:4px}#wpadminbar #wp-admin-bar-languages .ab-icon:before{content:"\f326";top:1px}.pll-notice.notice{padding-right:38px;position:relative}.pll-notice a.notice-dismiss{text-decoration:none}.pll-notice .button{margin-right:10px}.bulk-translate-save .button{margin-right:20px}#wpbody-content #pll-translate fieldset{display:inline-block;width:300px}#pll-translate .pll-translation-flag{margin-right:.3em}#pll-translate .title{display:block;margin:.2em 0;line-height:2.5}@media screen and (max-width:782px){#wpbody-content .pll-settings .pll-configure>td{padding:20px}#wpbody-content .pll-settings #cb{padding:20px 9px}.pll-inline-block{width:auto}.pll-settings-url-col{display:block;width:100%}#wpbody-content .pll-settings #pll-licenses-table td{display:block}.pll-configure .pll-deactivate-license{margin:10px 0 5px}.stringstranslations .column-context,.stringstranslations .column-name{display:none}.translation label{display:block;width:95%;padding-left:0}.translation input{width:95%}#edit-term-translations .pll-language-name,#select-add-term-language .pll-select-flag,#select-edit-term-language .pll-select-flag{display:none}#edit-term-translations{width:100%}#add-term-translations .pll-language-column{line-height:38px}#edit-term-translations td{padding:8px 10px}#edit-term-translations .pll-edit-column,#edit-term-translations .pll-language-column{width:20px}.term-translations .pll-edit-column,.term-translations .pll-language-column,.term-translations .pll-translation-column{display:table-cell}.term-translations .hidden{display:none}#wpadminbar #wp-admin-bar-languages{display:block}#wpadminbar #wp-admin-bar-languages>.ab-item{width:50px;text-align:center}#wpadminbar #wp-admin-bar-languages>.ab-item .ab-icon:before{font:32px/1 dashicons;top:-1px}#wpadminbar #wp-admin-bar-languages>.ab-item img{margin:19px 0}#wpadminbar #wp-admin-bar-languages #wp-admin-bar-all .ab-item .ab-icon{margin-right:6px;font-size:20px!important;line-height:20px!important}}
|
polylang.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Polylang
|
5 |
* Plugin URI: https://polylang.pro
|
6 |
* Description: Adds multilingual capability to WordPress
|
7 |
-
* Version: 2.7.
|
8 |
* Requires at least: 4.9
|
9 |
* Requires PHP: 5.6
|
10 |
* Author: WP SYNTEX
|
@@ -55,7 +55,7 @@ if ( defined( 'POLYLANG_BASENAME' ) ) {
|
|
55 |
}
|
56 |
} else {
|
57 |
// Go on loading the plugin
|
58 |
-
define( 'POLYLANG_VERSION', '2.7.
|
59 |
define( 'PLL_MIN_WP_VERSION', '4.9' );
|
60 |
define( 'PLL_MIN_PHP_VERSION', '5.6' );
|
61 |
|
4 |
* Plugin Name: Polylang
|
5 |
* Plugin URI: https://polylang.pro
|
6 |
* Description: Adds multilingual capability to WordPress
|
7 |
+
* Version: 2.7.4
|
8 |
* Requires at least: 4.9
|
9 |
* Requires PHP: 5.6
|
10 |
* Author: WP SYNTEX
|
55 |
}
|
56 |
} else {
|
57 |
// Go on loading the plugin
|
58 |
+
define( 'POLYLANG_VERSION', '2.7.4' );
|
59 |
define( 'PLL_MIN_WP_VERSION', '4.9' );
|
60 |
define( 'PLL_MIN_PHP_VERSION', '5.6' );
|
61 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: multilingual, bilingual, translate, translation, language, multilanguage,
|
|
5 |
Requires at least: 4.9
|
6 |
Tested up to: 5.4
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 2.7.
|
9 |
License: GPLv3 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -78,6 +78,15 @@ Don't hesitate to [give your feedback](http://wordpress.org/support/view/plugin-
|
|
78 |
|
79 |
== Changelog ==
|
80 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
= 2.7.3 (2020-05-26) =
|
82 |
|
83 |
* Security: Slash metas
|
5 |
Requires at least: 4.9
|
6 |
Tested up to: 5.4
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 2.7.4
|
9 |
License: GPLv3 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
78 |
|
79 |
== Changelog ==
|
80 |
|
81 |
+
= 2.7.4 ( 2020-06-29) =
|
82 |
+
|
83 |
+
* Pro: Allow using our /untranslated-posts REST endpoint for non-public post types
|
84 |
+
* Pro: Fix broken display in the block editor sidebar when a language has no flag
|
85 |
+
* Pro: Fix SSO breaking the preview on secondary domains
|
86 |
+
* Pro: Fix ACF translation option not working for term custom fields
|
87 |
+
* Pro: Fix a styling issue in the fields group list table in ACF 5.9
|
88 |
+
* Add Spanish from Puerto Rico to the predefined list of languages
|
89 |
+
|
90 |
= 2.7.3 (2020-05-26) =
|
91 |
|
92 |
* Security: Slash metas
|
settings/languages.php
CHANGED
@@ -368,6 +368,14 @@ return array(
|
|
368 |
'flag' => 'pe',
|
369 |
'facebook' => 'es_LA',
|
370 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
371 |
'es_UY' => array(
|
372 |
'code' => 'es',
|
373 |
'locale' => 'es_UY',
|
368 |
'flag' => 'pe',
|
369 |
'facebook' => 'es_LA',
|
370 |
),
|
371 |
+
'es_PR' => array(
|
372 |
+
'code' => 'es',
|
373 |
+
'locale' => 'es_PR',
|
374 |
+
'name' => 'Español',
|
375 |
+
'dir' => 'ltr',
|
376 |
+
'flag' => 'pr',
|
377 |
+
'facebook' => 'es_LA',
|
378 |
+
),
|
379 |
'es_UY' => array(
|
380 |
'code' => 'es',
|
381 |
'locale' => 'es_UY',
|