Version Description
(2016-03-04) =
- fix: All pages are redirected to the home page on some installations (introduced in 1.8.2)
Download this release
Release Info
Developer | Chouby |
Plugin | Polylang |
Version | 1.8.3 |
Comparing to | |
See all releases |
Code changes from version 1.8.2 to 1.8.3
- frontend/frontend-static-pages.php +1 -1
- polylang.php +2 -2
- readme.txt +5 -1
frontend/frontend-static-pages.php
CHANGED
@@ -171,7 +171,7 @@ class PLL_Frontend_Static_Pages extends PLL_Static_Pages {
|
|
171 |
* @return bool|string
|
172 |
*/
|
173 |
public function pll_check_canonical_url( $redirect_url ) {
|
174 |
-
if (
|
175 |
return $this->options['redirect_lang'] ? false : $this->curlang->home_url;
|
176 |
}
|
177 |
return $redirect_url;
|
171 |
* @return bool|string
|
172 |
*/
|
173 |
public function pll_check_canonical_url( $redirect_url ) {
|
174 |
+
if ( ! empty( $this->curlang->page_on_front ) && is_page( $this->curlang->page_on_front ) ) {
|
175 |
return $this->options['redirect_lang'] ? false : $this->curlang->home_url;
|
176 |
}
|
177 |
return $redirect_url;
|
polylang.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/*
|
4 |
Plugin Name: Polylang
|
5 |
Plugin URI: http://polylang.wordpress.com/
|
6 |
-
Version: 1.8.
|
7 |
Author: Frédéric Demarle
|
8 |
Author uri: http://polylang.wordpress.com
|
9 |
Description: Adds multilingual capability to WordPress
|
@@ -35,7 +35,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
35 |
exit; // don't access directly
|
36 |
};
|
37 |
|
38 |
-
define( 'POLYLANG_VERSION', '1.8.
|
39 |
define( 'PLL_MIN_WP_VERSION', '4.0' );
|
40 |
|
41 |
define( 'POLYLANG_FILE', __FILE__ ); // this file
|
3 |
/*
|
4 |
Plugin Name: Polylang
|
5 |
Plugin URI: http://polylang.wordpress.com/
|
6 |
+
Version: 1.8.3
|
7 |
Author: Frédéric Demarle
|
8 |
Author uri: http://polylang.wordpress.com
|
9 |
Description: Adds multilingual capability to WordPress
|
35 |
exit; // don't access directly
|
36 |
};
|
37 |
|
38 |
+
define( 'POLYLANG_VERSION', '1.8.3' );
|
39 |
define( 'PLL_MIN_WP_VERSION', '4.0' );
|
40 |
|
41 |
define( 'POLYLANG_FILE', __FILE__ ); // this file
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: multilingual, bilingual, translate, translation, language, multilanguage, international, localization
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.4
|
7 |
-
Stable tag: 1.8.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Making WordPress multilingual
|
@@ -71,6 +71,10 @@ See http://polylang.wordpress.com/documentation/contribute/
|
|
71 |
|
72 |
== Changelog ==
|
73 |
|
|
|
|
|
|
|
|
|
74 |
= 1.8.2 (2016-03-02) =
|
75 |
|
76 |
* Add support for the 'wpml_get_default_language()' function from the WPML API
|
4 |
Tags: multilingual, bilingual, translate, translation, language, multilanguage, international, localization
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.4
|
7 |
+
Stable tag: 1.8.3
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Making WordPress multilingual
|
71 |
|
72 |
== Changelog ==
|
73 |
|
74 |
+
= 1.8.3 (2016-03-04) =
|
75 |
+
|
76 |
+
* fix: All pages are redirected to the home page on some installations (introduced in 1.8.2)
|
77 |
+
|
78 |
= 1.8.2 (2016-03-02) =
|
79 |
|
80 |
* Add support for the 'wpml_get_default_language()' function from the WPML API
|