Version Description
(2018-02-15) =
- Pro: Fix GET REST request with slug parameter deleting the post slug
- Fix http request with a custom query var being redirected to the home page #216
Download this release
Release Info
Developer | Chouby |
Plugin | Polylang |
Version | 2.3.1 |
Comparing to | |
See all releases |
Code changes from version 2.3 to 2.3.1
- frontend/frontend-static-pages.php +2 -1
- polylang.php +2 -2
- readme.txt +7 -2
frontend/frontend-static-pages.php
CHANGED
@@ -167,7 +167,8 @@ class PLL_Frontend_Static_Pages extends PLL_Static_Pages {
|
|
167 |
* @return bool
|
168 |
*/
|
169 |
protected function is_front_page( $query ) {
|
170 |
-
|
|
|
171 |
}
|
172 |
|
173 |
/**
|
167 |
* @return bool
|
168 |
*/
|
169 |
protected function is_front_page( $query ) {
|
170 |
+
$query = array_diff( array_keys( $query->query ), array( 'preview', 'page', 'paged', 'cpage', 'orderby' ) );
|
171 |
+
return 1 === count( $query ) && in_array( 'lang', $query );
|
172 |
}
|
173 |
|
174 |
/**
|
polylang.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/**
|
4 |
Plugin Name: Polylang
|
5 |
Plugin URI: https://polylang.pro
|
6 |
-
Version: 2.3
|
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.3' );
|
57 |
define( 'PLL_MIN_WP_VERSION', '4.4' );
|
58 |
|
59 |
define( 'POLYLANG_FILE', __FILE__ ); // this file
|
3 |
/**
|
4 |
Plugin Name: Polylang
|
5 |
Plugin URI: https://polylang.pro
|
6 |
+
Version: 2.3.1
|
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.3.1' );
|
57 |
define( 'PLL_MIN_WP_VERSION', '4.4' );
|
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.4
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 2.3
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Making WordPress multilingual
|
@@ -76,7 +76,12 @@ Don't hesitate to [give your feedback](http://wordpress.org/support/view/plugin-
|
|
76 |
|
77 |
== Changelog ==
|
78 |
|
79 |
-
= 2.3 (
|
|
|
|
|
|
|
|
|
|
|
80 |
|
81 |
* Pro: Duplicating a post now duplicates untranslated terms and the featured image (if media are translatable)
|
82 |
* Pro: Add filter 'pll_sync_post_fields'
|
4 |
Tags: multilingual, bilingual, translate, translation, language, multilanguage, international, localization
|
5 |
Requires at least: 4.4
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 2.3.1
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Making WordPress multilingual
|
76 |
|
77 |
== Changelog ==
|
78 |
|
79 |
+
= 2.3.1 (2018-02-15) =
|
80 |
+
|
81 |
+
* Pro: Fix GET REST request with slug parameter deleting the post slug
|
82 |
+
* Fix http request with a custom query var being redirected to the home page #216
|
83 |
+
|
84 |
+
= 2.3 (2018-01-30) =
|
85 |
|
86 |
* Pro: Duplicating a post now duplicates untranslated terms and the featured image (if media are translatable)
|
87 |
* Pro: Add filter 'pll_sync_post_fields'
|