Polylang - Version 1.8.4

Version Description

(2016-03-06) =

  • Revert canonical redirection of static front page when combining plain permalinks + default language hidden in url (introduced in 1.8.2)
Download this release

Release Info

Developer Chouby
Plugin Icon 128x128 Polylang
Version 1.8.4
Comparing to
See all releases

Code changes from version 1.8.3 to 1.8.4

frontend/frontend-static-pages.php CHANGED
@@ -171,10 +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 ( ! 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;
178
  }
179
 
180
  /*
171
  * @return bool|string
172
  */
173
  public function pll_check_canonical_url( $redirect_url ) {
174
+ return $this->options['redirect_lang'] && isset( $this->curlang->page_on_front ) && is_page( $this->curlang->page_on_front ) ? false : $redirect_url;
 
 
 
175
  }
176
 
177
  /*
polylang.php CHANGED
@@ -3,7 +3,7 @@
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,7 +35,7 @@ if ( ! defined( 'ABSPATH' ) ) {
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
3
  /*
4
  Plugin Name: Polylang
5
  Plugin URI: http://polylang.wordpress.com/
6
+ Version: 1.8.4
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.4' );
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.3
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.3 (2016-03-04) =
75
 
76
  * fix: All pages are redirected to the home page on some installations (introduced in 1.8.2)
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.4
8
  License: GPLv2 or later
9
 
10
  Making WordPress multilingual
71
 
72
  == Changelog ==
73
 
74
+ = 1.8.4 (2016-03-06) =
75
+
76
+ * Revert canonical redirection of static front page when combining plain permalinks + default language hidden in url (introduced in 1.8.2)
77
+
78
  = 1.8.3 (2016-03-04) =
79
 
80
  * fix: All pages are redirected to the home page on some installations (introduced in 1.8.2)