Version Description
(2017-09-24) =
- Fix editor removed on pages (introduced in 2.2.2)
Download this release
Release Info
Developer | Chouby |
Plugin | Polylang |
Version | 2.2.3 |
Comparing to | |
See all releases |
Code changes from version 2.2.2 to 2.2.3
- admin/admin-static-pages.php +1 -1
- polylang.php +2 -2
- readme.txt +5 -1
admin/admin-static-pages.php
CHANGED
@@ -47,7 +47,7 @@ class PLL_Admin_Static_Pages extends PLL_Static_Pages {
|
|
47 |
if ( 'page' === $post_type ) {
|
48 |
add_filter( 'option_page_for_posts', array( $this, 'translate_page_for_posts' ) );
|
49 |
|
50 |
-
if ( (
|
51 |
add_action( 'edit_form_after_title', '_wp_posts_page_notice' );
|
52 |
remove_post_type_support( $post_type, 'editor' );
|
53 |
}
|
47 |
if ( 'page' === $post_type ) {
|
48 |
add_filter( 'option_page_for_posts', array( $this, 'translate_page_for_posts' ) );
|
49 |
|
50 |
+
if ( ( get_option( 'page_for_posts' ) == $post->ID ) && empty( $post->post_content ) ) {
|
51 |
add_action( 'edit_form_after_title', '_wp_posts_page_notice' );
|
52 |
remove_post_type_support( $post_type, 'editor' );
|
53 |
}
|
polylang.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/**
|
4 |
Plugin Name: Polylang
|
5 |
Plugin URI: https://polylang.pro
|
6 |
-
Version: 2.2.
|
7 |
Author: Frédéric Demarle
|
8 |
Author uri: https://polylang.pro
|
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', '2.2.
|
39 |
define( 'PLL_MIN_WP_VERSION', '4.4' );
|
40 |
|
41 |
define( 'POLYLANG_FILE', __FILE__ ); // this file
|
3 |
/**
|
4 |
Plugin Name: Polylang
|
5 |
Plugin URI: https://polylang.pro
|
6 |
+
Version: 2.2.3
|
7 |
Author: Frédéric Demarle
|
8 |
Author uri: https://polylang.pro
|
9 |
Description: Adds multilingual capability to WordPress
|
35 |
exit; // don't access directly
|
36 |
};
|
37 |
|
38 |
+
define( 'POLYLANG_VERSION', '2.2.3' );
|
39 |
define( 'PLL_MIN_WP_VERSION', '4.4' );
|
40 |
|
41 |
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.8
|
7 |
-
Stable tag: 2.2.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Making WordPress multilingual
|
@@ -76,6 +76,10 @@ Don't hesitate to [give your feedback](http://wordpress.org/support/view/plugin-
|
|
76 |
|
77 |
== Changelog ==
|
78 |
|
|
|
|
|
|
|
|
|
79 |
= 2.2.2 (2017-09-22) =
|
80 |
|
81 |
* Pro: Fix Duplicate post button not working when the user meta has been corrupted
|
4 |
Tags: multilingual, bilingual, translate, translation, language, multilanguage, international, localization
|
5 |
Requires at least: 4.4
|
6 |
Tested up to: 4.8
|
7 |
+
Stable tag: 2.2.3
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Making WordPress multilingual
|
76 |
|
77 |
== Changelog ==
|
78 |
|
79 |
+
= 2.2.3 (2017-09-24) =
|
80 |
+
|
81 |
+
* Fix editor removed on pages (introduced in 2.2.2)
|
82 |
+
|
83 |
= 2.2.2 (2017-09-22) =
|
84 |
|
85 |
* Pro: Fix Duplicate post button not working when the user meta has been corrupted
|