Weglot Translate – Translate your WP website - Version 1.12.1

Version Description

(03/05/2018) = * Bugfix : error for users with a version lower than PHP 5.4 . [] => array()

Download this release

Release Info

Developer remyb92
Plugin Icon 128x128 Weglot Translate – Translate your WP website
Version 1.12.1
Comparing to
See all releases

Code changes from version 1.12 to 1.12.1

Files changed (2) hide show
  1. readme.txt +4 -1
  2. weglot.php +4 -4
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: translate,translation,language,multilingual,bilingual,international,locali
4
  Requires at least: 4.5
5
  Tested up to: 4.9
6
  Requires PHP: 5.3
7
- Stable tag: 1.12
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -152,6 +152,9 @@ See changelog for upgrade changes.
152
 
153
  == Changelog ==
154
 
 
 
 
155
  = 1.12 (03/05/2018) =
156
  * Bugfix : undefined index on ajax call
157
  * Bugfix : Redirection checkout payment on WooCommerce
4
  Requires at least: 4.5
5
  Tested up to: 4.9
6
  Requires PHP: 5.3
7
+ Stable tag: 1.12.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
152
 
153
  == Changelog ==
154
 
155
+ = 1.12.1 (03/05/2018) =
156
+ * Bugfix : error for users with a version lower than PHP 5.4 . [] => array()
157
+
158
  = 1.12 (03/05/2018) =
159
  * Bugfix : undefined index on ajax call
160
  * Bugfix : Redirection checkout payment on WooCommerce
weglot.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package Weglot
4
- * @version 1.12
5
  */
6
 
7
  /*
@@ -12,7 +12,7 @@ Author: Weglot Translate team
12
  Author URI: https://weglot.com/
13
  Text Domain: weglot
14
  Domain Path: /languages/
15
- Version: 1.12
16
  */
17
 
18
  /*
@@ -41,7 +41,7 @@ if (! defined('ABSPATH')) {
41
  }
42
 
43
 
44
- define('WEGLOT_VERSION', '1.12');
45
  define('WEGLOT_DIR', dirname(__FILE__));
46
  define('WEGLOT_BNAME', plugin_basename(__FILE__));
47
  define('WEGLOT_DIRURL', plugin_dir_url(__FILE__));
@@ -1074,7 +1074,7 @@ class Weglot
1074
 
1075
  $exclusions = preg_replace('#\s+#', ',', $excludeURL);
1076
 
1077
- $listRegex = [];
1078
  if (!empty($exclusions)) {
1079
  $listRegex = explode(',', $exclusions);
1080
  }
1
  <?php
2
  /**
3
  * @package Weglot
4
+ * @version 1.12.1
5
  */
6
 
7
  /*
12
  Author URI: https://weglot.com/
13
  Text Domain: weglot
14
  Domain Path: /languages/
15
+ Version: 1.12.1
16
  */
17
 
18
  /*
41
  }
42
 
43
 
44
+ define('WEGLOT_VERSION', '1.12.1');
45
  define('WEGLOT_DIR', dirname(__FILE__));
46
  define('WEGLOT_BNAME', plugin_basename(__FILE__));
47
  define('WEGLOT_DIRURL', plugin_dir_url(__FILE__));
1074
 
1075
  $exclusions = preg_replace('#\s+#', ',', $excludeURL);
1076
 
1077
+ $listRegex = array();
1078
  if (!empty($exclusions)) {
1079
  $listRegex = explode(',', $exclusions);
1080
  }