Version Description
(2015-07-21) =
- fix: conflict with PHP < 5.4 introduced in 1.7.7
Download this release
Release Info
Developer | Chouby |
Plugin | Polylang |
Version | 1.7.8 |
Comparing to | |
See all releases |
Code changes from version 1.7.7 to 1.7.8
- include/model.php +2 -2
- lingotek/lingotek.php +2 -2
- polylang.php +2 -2
- readme.txt +6 -2
include/model.php
CHANGED
@@ -616,7 +616,7 @@ class PLL_Model {
|
|
616 |
if (!empty($this->options['media_support']))
|
617 |
$post_types['attachement'] = 'attachment';
|
618 |
|
619 |
-
if (is_array($this->options['post_types']))
|
620 |
$post_types = array_merge($post_types, array_combine($this->options['post_types'], $this->options['post_types']));
|
621 |
|
622 |
$post_types = apply_filters('pll_get_post_types', $post_types , false);
|
@@ -667,7 +667,7 @@ class PLL_Model {
|
|
667 |
if (empty($taxonomies)) {
|
668 |
$taxonomies = array('category' => 'category', 'post_tag' => 'post_tag');
|
669 |
|
670 |
-
if (is_array($this->options['taxonomies']))
|
671 |
$taxonomies = array_merge($taxonomies, array_combine($this->options['taxonomies'], $this->options['taxonomies']));
|
672 |
|
673 |
$taxonomies = apply_filters('pll_get_taxonomies', $taxonomies, false);
|
616 |
if (!empty($this->options['media_support']))
|
617 |
$post_types['attachement'] = 'attachment';
|
618 |
|
619 |
+
if (!empty($this->options['post_types']) && is_array($this->options['post_types']))
|
620 |
$post_types = array_merge($post_types, array_combine($this->options['post_types'], $this->options['post_types']));
|
621 |
|
622 |
$post_types = apply_filters('pll_get_post_types', $post_types , false);
|
667 |
if (empty($taxonomies)) {
|
668 |
$taxonomies = array('category' => 'category', 'post_tag' => 'post_tag');
|
669 |
|
670 |
+
if (!empty($this->options['taxonomies']) && is_array($this->options['taxonomies']))
|
671 |
$taxonomies = array_merge($taxonomies, array_combine($this->options['taxonomies'], $this->options['taxonomies']));
|
672 |
|
673 |
$taxonomies = apply_filters('pll_get_taxonomies', $taxonomies, false);
|
lingotek/lingotek.php
CHANGED
@@ -100,7 +100,7 @@ class PLL_Lingotek {
|
|
100 |
)
|
101 |
);
|
102 |
|
103 |
-
printf('<p>%s</p>', __('Polylang is now fully integrated with Lingotek, a professional translation management
|
104 |
|
105 |
$this->box(
|
106 |
__('Automatically Translate My Site', 'polylang'),
|
@@ -120,7 +120,7 @@ class PLL_Lingotek {
|
|
120 |
__('Access free machine translation for your site for up to 100,000 characters.', 'polylang'),
|
121 |
__('Access an online translator workbench.', 'polylang'),
|
122 |
__('Have linguists compare side-by-side versions of original and translated text.', 'polylang'),
|
123 |
-
__('Save and re-use previously translated material (leverage translation memory (TM).', 'polylang'),
|
124 |
),
|
125 |
array_intersect_key($links, array_flip(array('activate'))),
|
126 |
'image02.png'
|
100 |
)
|
101 |
);
|
102 |
|
103 |
+
printf('<p>%s</p>', __('Polylang is now fully integrated with Lingotek, a professional translation management system!', 'polylang'));
|
104 |
|
105 |
$this->box(
|
106 |
__('Automatically Translate My Site', 'polylang'),
|
120 |
__('Access free machine translation for your site for up to 100,000 characters.', 'polylang'),
|
121 |
__('Access an online translator workbench.', 'polylang'),
|
122 |
__('Have linguists compare side-by-side versions of original and translated text.', 'polylang'),
|
123 |
+
__('Save and re-use previously translated material (leverage translation memory (TM)).', 'polylang'),
|
124 |
),
|
125 |
array_intersect_key($links, array_flip(array('activate'))),
|
126 |
'image02.png'
|
polylang.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Polylang
|
4 |
Plugin URI: http://polylang.wordpress.com/
|
5 |
-
Version: 1.7.
|
6 |
Author: Frédéric Demarle
|
7 |
Author uri: http://polylang.wordpress.com
|
8 |
Description: Adds multilingual capability to WordPress
|
@@ -34,7 +34,7 @@ Domain Path: /languages
|
|
34 |
if (!function_exists('add_action'))
|
35 |
exit();
|
36 |
|
37 |
-
define('POLYLANG_VERSION', '1.7.
|
38 |
define('PLL_MIN_WP_VERSION', '3.8');
|
39 |
|
40 |
define('POLYLANG_BASENAME', plugin_basename(__FILE__)); // plugin name as known by WP
|
2 |
/*
|
3 |
Plugin Name: Polylang
|
4 |
Plugin URI: http://polylang.wordpress.com/
|
5 |
+
Version: 1.7.8
|
6 |
Author: Frédéric Demarle
|
7 |
Author uri: http://polylang.wordpress.com
|
8 |
Description: Adds multilingual capability to WordPress
|
34 |
if (!function_exists('add_action'))
|
35 |
exit();
|
36 |
|
37 |
+
define('POLYLANG_VERSION', '1.7.8');
|
38 |
define('PLL_MIN_WP_VERSION', '3.8');
|
39 |
|
40 |
define('POLYLANG_BASENAME', plugin_basename(__FILE__)); // plugin name as known by WP
|
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: 3.8
|
6 |
Tested up to: 4.2
|
7 |
-
Stable tag: 1.7.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Making WordPress multilingual
|
@@ -111,7 +111,11 @@ See http://polylang.wordpress.com/documentation/contribute/
|
|
111 |
|
112 |
== Changelog ==
|
113 |
|
114 |
-
= 1.7.
|
|
|
|
|
|
|
|
|
115 |
|
116 |
* Add Romanian translation contributed by uskro
|
117 |
* Add Japanese translation contributed by [Eiko Toda](http://www.eikotoda.com)
|
4 |
Tags: multilingual, bilingual, translate, translation, language, multilanguage, international, localization
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.2
|
7 |
+
Stable tag: 1.7.8
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Making WordPress multilingual
|
111 |
|
112 |
== Changelog ==
|
113 |
|
114 |
+
= 1.7.8 (2015-07-21) =
|
115 |
+
|
116 |
+
* fix: conflict with PHP < 5.4 introduced in 1.7.7
|
117 |
+
|
118 |
+
= 1.7.7 (2015-07-20) =
|
119 |
|
120 |
* Add Romanian translation contributed by uskro
|
121 |
* Add Japanese translation contributed by [Eiko Toda](http://www.eikotoda.com)
|