Version Description
(2019-1-2) =
- Fixed a compatibility issue with Polylang
Download this release
Release Info
Developer | elliothanna |
Plugin | Lingotek Translation |
Version | 1.4.1 |
Comparing to | |
See all releases |
Code changes from version 1.4.0 to 1.4.1
- admin/filters-post.php +3 -3
- include/group-post.php +0 -0
- lingotek.php +2 -2
- readme.txt +5 -1
admin/filters-post.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
*
|
8 |
* @since 0.1
|
9 |
*/
|
10 |
-
class Lingotek_Filters_Post extends
|
11 |
public $lgtm; // Lingotek model
|
12 |
public $pllm;
|
13 |
public $lingotek_prefs;
|
@@ -132,7 +132,7 @@ class Lingotek_Filters_Post extends PLL_Admin_Filters_Post {
|
|
132 |
* @param object $post
|
133 |
* @param bool $update whether it is an update or not
|
134 |
*/
|
135 |
-
public function save_post($post_id, $post
|
136 |
|
137 |
$document = $this->lgtm->get_group('post', $post_id);
|
138 |
if ($document) {
|
@@ -156,7 +156,7 @@ class Lingotek_Filters_Post extends PLL_Admin_Filters_Post {
|
|
156 |
return;
|
157 |
// new post
|
158 |
if (!isset($_REQUEST['import'])) {
|
159 |
-
parent::save_post($post_id, $post
|
160 |
if (!$document &&
|
161 |
!wp_is_post_revision($post_id) &&
|
162 |
'auto-draft' != $post->post_status &&
|
7 |
*
|
8 |
* @since 0.1
|
9 |
*/
|
10 |
+
class Lingotek_Filters_Post extends PLL_CRUD_Posts {
|
11 |
public $lgtm; // Lingotek model
|
12 |
public $pllm;
|
13 |
public $lingotek_prefs;
|
132 |
* @param object $post
|
133 |
* @param bool $update whether it is an update or not
|
134 |
*/
|
135 |
+
public function save_post($post_id, $post) {
|
136 |
|
137 |
$document = $this->lgtm->get_group('post', $post_id);
|
138 |
if ($document) {
|
156 |
return;
|
157 |
// new post
|
158 |
if (!isset($_REQUEST['import'])) {
|
159 |
+
parent::save_post($post_id, $post);
|
160 |
if (!$document &&
|
161 |
!wp_is_post_revision($post_id) &&
|
162 |
'auto-draft' != $post->post_status &&
|
include/group-post.php
CHANGED
File without changes
|
lingotek.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
Plugin name: Lingotek Translation
|
4 |
Plugin URI: http://lingotek.com/wordpress#utm_source=wpadmin&utm_medium=plugin&utm_campaign=wplingotektranslationplugin
|
5 |
-
Version: 1.4.
|
6 |
Author: Lingotek and Frédéric Demarle
|
7 |
Author uri: http://lingotek.com
|
8 |
Description: Lingotek offers convenient cloud-based localization and translation.
|
@@ -16,7 +16,7 @@ if ( ! function_exists( 'add_action' ) ) {
|
|
16 |
exit();
|
17 |
}
|
18 |
|
19 |
-
define( 'LINGOTEK_VERSION', '1.4.
|
20 |
define( 'LINGOTEK_MIN_PLL_VERSION', '1.8' );
|
21 |
define( 'LINGOTEK_BASENAME', plugin_basename( __FILE__ ) ); // plugin name as known by WP.
|
22 |
define( 'LINGOTEK_PLUGIN_SLUG', 'lingotek-translation' );// plugin slug (should match above meta: Text Domain).
|
2 |
/**
|
3 |
Plugin name: Lingotek Translation
|
4 |
Plugin URI: http://lingotek.com/wordpress#utm_source=wpadmin&utm_medium=plugin&utm_campaign=wplingotektranslationplugin
|
5 |
+
Version: 1.4.1
|
6 |
Author: Lingotek and Frédéric Demarle
|
7 |
Author uri: http://lingotek.com
|
8 |
Description: Lingotek offers convenient cloud-based localization and translation.
|
16 |
exit();
|
17 |
}
|
18 |
|
19 |
+
define( 'LINGOTEK_VERSION', '1.4.1' ); // plugin version (should match above meta).
|
20 |
define( 'LINGOTEK_MIN_PLL_VERSION', '1.8' );
|
21 |
define( 'LINGOTEK_BASENAME', plugin_basename( __FILE__ ) ); // plugin name as known by WP.
|
22 |
define( 'LINGOTEK_PLUGIN_SLUG', 'lingotek-translation' );// plugin slug (should match above meta: Text Domain).
|
readme.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
=== Lingotek Translation ===
|
2 |
-
Contributors: chouby, smithworx, erichie, robertdhanna
|
3 |
Donate link: http://lingotek.com/
|
4 |
Tags: automation, bilingual, international, language, Lingotek, localization, multilanguage, multilingual, translate, translation
|
5 |
Requires at least: 3.8
|
@@ -123,6 +123,10 @@ For more, visit the [Lingotek documentation site](https://lingotek.atlassian.net
|
|
123 |
|
124 |
== Changelog ==
|
125 |
|
|
|
|
|
|
|
|
|
126 |
= 1.4.0 (2018-11-2) =
|
127 |
|
128 |
* Fixed bug where automatic downloads only show up as interim
|
1 |
=== Lingotek Translation ===
|
2 |
+
Contributors: chouby, smithworx, erichie, robertdhanna, ipoulsen
|
3 |
Donate link: http://lingotek.com/
|
4 |
Tags: automation, bilingual, international, language, Lingotek, localization, multilanguage, multilingual, translate, translation
|
5 |
Requires at least: 3.8
|
123 |
|
124 |
== Changelog ==
|
125 |
|
126 |
+
= 1.4.1 (2019-1-2) =
|
127 |
+
|
128 |
+
* Fixed a compatibility issue with Polylang
|
129 |
+
|
130 |
= 1.4.0 (2018-11-2) =
|
131 |
|
132 |
* Fixed bug where automatic downloads only show up as interim
|