Weglot Translate – Translate your WP website - Version 3.6.1

Version Description

(02/03/2022) =

  • Bugfix: Fix hide button option on switcher menu
  • Bugfix: Fix bug VE not translated
  • Bugfix: Fix bug add Custom full name for orginal language
Download this release

Release Info

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

Code changes from version 3.6 to 3.6.1

readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: translate, multilingual, language, translation, localization, multilingual
4
  Requires at least: 4.5
5
  Tested up to: 5.9
6
  Requires PHP: 5.6
7
- Stable tag: 3.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -210,17 +210,11 @@ See changelog for upgrade changes.
210
 
211
  == Changelog ==
212
 
213
- = 3.6 (23/02/2022) =
214
-
215
- * Add: Advance exclude url option
216
- * Add: Add blocks for gutenberg (wp 5.9)
217
- * Add: Disable autoswitch for weglot visual editor
218
- * Add: Add Forminator (plugin de WPMUDEV) compatibility
219
- * Add: Disable weglot on rankmath sitemap
220
- * Add: Add hook filter to replace_url method
221
- * Bugfix: php8 parameters order
222
- * Bugfix: Refresh destination language list
223
- * Bugfix: Display hreflang even url have parameters
224
 
225
  = Older versions =
226
 
4
  Requires at least: 4.5
5
  Tested up to: 5.9
6
  Requires PHP: 5.6
7
+ Stable tag: 3.6.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
210
 
211
  == Changelog ==
212
 
213
+ = 3.6.1 (02/03/2022) =
214
+
215
+ * Bugfix: Fix hide button option on switcher menu
216
+ * Bugfix: Fix bug VE not translated
217
+ * Bugfix: Fix bug add Custom full name for orginal language
 
 
 
 
 
 
218
 
219
  = Older versions =
220
 
src/actions/front/class-front-menu-weglot.php CHANGED
@@ -139,7 +139,9 @@ class Front_Menu_Weglot implements Hooks_Interface_Weglot {
139
  $language_button_displayed = $this->request_url_services->get_weglot_url()->getExcludeOption( $language, 'language_button_displayed' );
140
  $link_button = $this->request_url_services->get_weglot_url()->getForLanguage( $language, true );
141
 
142
- if ( $dropdown && ! $show_all_languages && $current_language->getInternalCode() === $language->getInternalCode() || ( $dropdown && $show_all_languages && $current_language->getInternalCode() === $language->getInternalCode() ) ) {
 
 
143
  continue;
144
  }
145
 
139
  $language_button_displayed = $this->request_url_services->get_weglot_url()->getExcludeOption( $language, 'language_button_displayed' );
140
  $link_button = $this->request_url_services->get_weglot_url()->getForLanguage( $language, true );
141
 
142
+ if ( $dropdown && ! $show_all_languages && $current_language->getInternalCode() === $language->getInternalCode() ||
143
+ ( $dropdown && $show_all_languages && $current_language->getInternalCode() === $language->getInternalCode() ) ||
144
+ ( $hide_current && $current_language->getInternalCode() === $language->getInternalCode() )) {
145
  continue;
146
  }
147
 
src/actions/front/class-translate-page-weglot.php CHANGED
@@ -204,7 +204,7 @@ class Translate_Page_Weglot implements Hooks_Interface_Weglot {
204
  $this->language_services->get_original_language() === $this->request_url_services->get_current_language() &&
205
  ! isset( $_COOKIE['WG_CHOOSE_ORIGINAL'] ) && // No force redirect.
206
  Server::detectBot( $_SERVER ) === BotType::HUMAN && //phpcs:ignore
207
- Server::detectBot( $_SERVER ) !== BotType::WGVE && //phpcs:ignore
208
  ( ! $only_home || ( $only_home && $this->request_url_services->get_weglot_url()->getPath() === '/' ) ) && // front_page.
209
  $this->option_services->get_option( 'auto_redirect' ) // have option redirect.
210
  ) {
204
  $this->language_services->get_original_language() === $this->request_url_services->get_current_language() &&
205
  ! isset( $_COOKIE['WG_CHOOSE_ORIGINAL'] ) && // No force redirect.
206
  Server::detectBot( $_SERVER ) === BotType::HUMAN && //phpcs:ignore
207
+ ! Server::detectBotVe( $_SERVER ) && //phpcs:ignore
208
  ( ! $only_home || ( $only_home && $this->request_url_services->get_weglot_url()->getPath() === '/' ) ) && // front_page.
209
  $this->option_services->get_option( 'auto_redirect' ) // have option redirect.
210
  ) {
src/models/class-schema-option-v3.php CHANGED
@@ -21,6 +21,8 @@ class Schema_Option_V3 {
21
  'api_key_private' => 'api_key_private',
22
  'allowed' => 'allowed',
23
  'original_language' => 'language_from',
 
 
24
  'translation_engine' => 'translation_engine',
25
  'destination_language' => (object) array(
26
  'path' => 'languages',
21
  'api_key_private' => 'api_key_private',
22
  'allowed' => 'allowed',
23
  'original_language' => 'language_from',
24
+ 'language_from_custom_flag' => 'language_from_custom_flag',
25
+ 'language_from_custom_name' => 'language_from_custom_name',
26
  'translation_engine' => 'translation_engine',
27
  'destination_language' => (object) array(
28
  'path' => 'languages',
src/services/class-language-service-weglot.php CHANGED
@@ -102,6 +102,12 @@ class Language_Service_Weglot {
102
 
103
  $this->languages = $this->get_languages_available( [ 'sort' => true ] );
104
  $destination_languages = $this->option_services->get_destination_languages();
 
 
 
 
 
 
105
  foreach ( $destination_languages as $d ) {
106
  if ( $d['custom_name'] ) {
107
  $this->languages = $this->add_language( $d['language_to'], $d['custom_code'], $d['custom_name'], $d['custom_name'] );
@@ -176,6 +182,14 @@ class Language_Service_Weglot {
176
  return $this->get_language_from_internal( $original_language_code );
177
  }
178
 
 
 
 
 
 
 
 
 
179
  /**
180
  * Get original language and destination languages as language entries
181
  * @param bool $allowed_private
102
 
103
  $this->languages = $this->get_languages_available( [ 'sort' => true ] );
104
  $destination_languages = $this->option_services->get_destination_languages();
105
+ $original_language = $this->get_original_language();
106
+
107
+ if ( ! empty( $this->get_original_language_name_custom() ) ) {
108
+ $this->languages = $this->add_language( $original_language->getInternalCode(), $original_language->getExternalCode(), $this->get_original_language_name_custom(), $this->get_original_language_name_custom() );
109
+ }
110
+
111
  foreach ( $destination_languages as $d ) {
112
  if ( $d['custom_name'] ) {
113
  $this->languages = $this->add_language( $d['language_to'], $d['custom_code'], $d['custom_name'], $d['custom_name'] );
182
  return $this->get_language_from_internal( $original_language_code );
183
  }
184
 
185
+ /**
186
+ * Get original language as language entry
187
+ * @return LanguageEntry
188
+ */
189
+ public function get_original_language_name_custom() {
190
+ return $this->option_services->get_option( 'language_from_custom_name' );
191
+ }
192
+
193
  /**
194
  * Get original language and destination languages as language entries
195
  * @param bool $allowed_private
src/services/class-replace-url-service-weglot.php CHANGED
@@ -95,7 +95,6 @@ class Replace_Url_Service_Weglot {
95
  }
96
 
97
  public function replace_link_in_json( $json ) {
98
-
99
  $replace_urls = apply_filters( 'weglot_ajax_replace_urls', [ 'redirecturl', 'url', 'link' ] );
100
  foreach ( $json as $key => $val ) {
101
  if ( is_array( $val ) ) {
95
  }
96
 
97
  public function replace_link_in_json( $json ) {
 
98
  $replace_urls = apply_filters( 'weglot_ajax_replace_urls', [ 'redirecturl', 'url', 'link' ] );
99
  foreach ( $json as $key => $val ) {
100
  if ( is_array( $val ) ) {
src/services/class-translate-service-weglot.php CHANGED
@@ -170,9 +170,7 @@ class Translate_Service_Weglot {
170
  }
171
 
172
  $type = apply_filters( 'weglot_type_treat_page', $type );
173
-
174
  $active_translation = apply_filters( 'weglot_active_translation', true );
175
-
176
  $canonical = $this->get_canonical_url_from_content( $content );
177
 
178
  // No need to translate but prepare new dom with button.
170
  }
171
 
172
  $type = apply_filters( 'weglot_type_treat_page', $type );
 
173
  $active_translation = apply_filters( 'weglot_active_translation', true );
 
174
  $canonical = $this->get_canonical_url_from_content( $content );
175
 
176
  // No need to translate but prepare new dom with button.
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit1f951178013d9f6bce5e15499d70d14c::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit9cb8848c7796a94553e817856362dcc6::getLoader();
vendor/composer/InstalledVersions.php CHANGED
@@ -30,7 +30,7 @@ private static $installed = array (
30
  'aliases' =>
31
  array (
32
  ),
33
- 'reference' => '4bd940513914d113c0ff892236a067c00ca3257b',
34
  'name' => 'weglot/translate-wordpress',
35
  ),
36
  'versions' =>
@@ -69,7 +69,7 @@ private static $installed = array (
69
  'aliases' =>
70
  array (
71
  ),
72
- 'reference' => '4bd940513914d113c0ff892236a067c00ca3257b',
73
  ),
74
  'weglot/translation-definitions' =>
75
  array (
@@ -82,12 +82,12 @@ private static $installed = array (
82
  ),
83
  'weglot/weglot-php' =>
84
  array (
85
- 'pretty_version' => '1.3.3',
86
- 'version' => '1.3.3.0',
87
  'aliases' =>
88
  array (
89
  ),
90
- 'reference' => 'bb8c93984f1788a757da168074d3c603bb72f428',
91
  ),
92
  ),
93
  );
30
  'aliases' =>
31
  array (
32
  ),
33
+ 'reference' => 'e1a847c386e4423a9703db41f896109885744db7',
34
  'name' => 'weglot/translate-wordpress',
35
  ),
36
  'versions' =>
69
  'aliases' =>
70
  array (
71
  ),
72
+ 'reference' => 'e1a847c386e4423a9703db41f896109885744db7',
73
  ),
74
  'weglot/translation-definitions' =>
75
  array (
82
  ),
83
  'weglot/weglot-php' =>
84
  array (
85
+ 'pretty_version' => '1.3.4',
86
+ 'version' => '1.3.4.0',
87
  'aliases' =>
88
  array (
89
  ),
90
+ 'reference' => '38d07fee3b3cf2d2bd3a64be5460ea255d57eabd',
91
  ),
92
  ),
93
  );
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit1f951178013d9f6bce5e15499d70d14c
6
  {
7
  private static $loader;
8
 
@@ -24,15 +24,15 @@ class ComposerAutoloaderInit1f951178013d9f6bce5e15499d70d14c
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInit1f951178013d9f6bce5e15499d70d14c', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
- spl_autoload_unregister(array('ComposerAutoloaderInit1f951178013d9f6bce5e15499d70d14c', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
- call_user_func(\Composer\Autoload\ComposerStaticInit1f951178013d9f6bce5e15499d70d14c::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
@@ -53,19 +53,19 @@ class ComposerAutoloaderInit1f951178013d9f6bce5e15499d70d14c
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
- $includeFiles = Composer\Autoload\ComposerStaticInit1f951178013d9f6bce5e15499d70d14c::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
- composerRequire1f951178013d9f6bce5e15499d70d14c($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
65
  }
66
  }
67
 
68
- function composerRequire1f951178013d9f6bce5e15499d70d14c($fileIdentifier, $file)
69
  {
70
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
71
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit9cb8848c7796a94553e817856362dcc6
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInit9cb8848c7796a94553e817856362dcc6', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit9cb8848c7796a94553e817856362dcc6', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
+ call_user_func(\Composer\Autoload\ComposerStaticInit9cb8848c7796a94553e817856362dcc6::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
+ $includeFiles = Composer\Autoload\ComposerStaticInit9cb8848c7796a94553e817856362dcc6::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
+ composerRequire9cb8848c7796a94553e817856362dcc6($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
65
  }
66
  }
67
 
68
+ function composerRequire9cb8848c7796a94553e817856362dcc6($fileIdentifier, $file)
69
  {
70
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
71
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit1f951178013d9f6bce5e15499d70d14c
8
  {
9
  public static $files = array (
10
  '6c200413eed8aeea54dbaf934a31b127' => __DIR__ . '/..' . '/weglot/simplehtmldom/src/simple_html_dom.php',
@@ -66,10 +66,10 @@ class ComposerStaticInit1f951178013d9f6bce5e15499d70d14c
66
  public static function getInitializer(ClassLoader $loader)
67
  {
68
  return \Closure::bind(function () use ($loader) {
69
- $loader->prefixLengthsPsr4 = ComposerStaticInit1f951178013d9f6bce5e15499d70d14c::$prefixLengthsPsr4;
70
- $loader->prefixDirsPsr4 = ComposerStaticInit1f951178013d9f6bce5e15499d70d14c::$prefixDirsPsr4;
71
- $loader->prefixesPsr0 = ComposerStaticInit1f951178013d9f6bce5e15499d70d14c::$prefixesPsr0;
72
- $loader->classMap = ComposerStaticInit1f951178013d9f6bce5e15499d70d14c::$classMap;
73
 
74
  }, null, ClassLoader::class);
75
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit9cb8848c7796a94553e817856362dcc6
8
  {
9
  public static $files = array (
10
  '6c200413eed8aeea54dbaf934a31b127' => __DIR__ . '/..' . '/weglot/simplehtmldom/src/simple_html_dom.php',
66
  public static function getInitializer(ClassLoader $loader)
67
  {
68
  return \Closure::bind(function () use ($loader) {
69
+ $loader->prefixLengthsPsr4 = ComposerStaticInit9cb8848c7796a94553e817856362dcc6::$prefixLengthsPsr4;
70
+ $loader->prefixDirsPsr4 = ComposerStaticInit9cb8848c7796a94553e817856362dcc6::$prefixDirsPsr4;
71
+ $loader->prefixesPsr0 = ComposerStaticInit9cb8848c7796a94553e817856362dcc6::$prefixesPsr0;
72
+ $loader->classMap = ComposerStaticInit9cb8848c7796a94553e817856362dcc6::$classMap;
73
 
74
  }, null, ClassLoader::class);
75
  }
vendor/composer/installed.json CHANGED
@@ -189,17 +189,17 @@
189
  },
190
  {
191
  "name": "weglot/weglot-php",
192
- "version": "1.3.3",
193
- "version_normalized": "1.3.3.0",
194
  "source": {
195
  "type": "git",
196
  "url": "git@github.com:weglot/weglot-php.git",
197
- "reference": "bb8c93984f1788a757da168074d3c603bb72f428"
198
  },
199
  "dist": {
200
  "type": "zip",
201
- "url": "https://api.github.com/repos/weglot/weglot-php/zipball/bb8c93984f1788a757da168074d3c603bb72f428",
202
- "reference": "bb8c93984f1788a757da168074d3c603bb72f428",
203
  "shasum": ""
204
  },
205
  "require": {
@@ -212,7 +212,7 @@
212
  "codeception/codeception": "^2.4",
213
  "vlucas/phpdotenv": "^2.4"
214
  },
215
- "time": "2022-02-22T12:58:01+00:00",
216
  "type": "library",
217
  "installation-source": "dist",
218
  "autoload": {
189
  },
190
  {
191
  "name": "weglot/weglot-php",
192
+ "version": "1.3.4",
193
+ "version_normalized": "1.3.4.0",
194
  "source": {
195
  "type": "git",
196
  "url": "git@github.com:weglot/weglot-php.git",
197
+ "reference": "38d07fee3b3cf2d2bd3a64be5460ea255d57eabd"
198
  },
199
  "dist": {
200
  "type": "zip",
201
+ "url": "https://api.github.com/repos/weglot/weglot-php/zipball/38d07fee3b3cf2d2bd3a64be5460ea255d57eabd",
202
+ "reference": "38d07fee3b3cf2d2bd3a64be5460ea255d57eabd",
203
  "shasum": ""
204
  },
205
  "require": {
212
  "codeception/codeception": "^2.4",
213
  "vlucas/phpdotenv": "^2.4"
214
  },
215
+ "time": "2022-02-23T15:23:24+00:00",
216
  "type": "library",
217
  "installation-source": "dist",
218
  "autoload": {
vendor/composer/installed.php CHANGED
@@ -6,7 +6,7 @@
6
  'aliases' =>
7
  array (
8
  ),
9
- 'reference' => '4bd940513914d113c0ff892236a067c00ca3257b',
10
  'name' => 'weglot/translate-wordpress',
11
  ),
12
  'versions' =>
@@ -45,7 +45,7 @@
45
  'aliases' =>
46
  array (
47
  ),
48
- 'reference' => '4bd940513914d113c0ff892236a067c00ca3257b',
49
  ),
50
  'weglot/translation-definitions' =>
51
  array (
@@ -58,12 +58,12 @@
58
  ),
59
  'weglot/weglot-php' =>
60
  array (
61
- 'pretty_version' => '1.3.3',
62
- 'version' => '1.3.3.0',
63
  'aliases' =>
64
  array (
65
  ),
66
- 'reference' => 'bb8c93984f1788a757da168074d3c603bb72f428',
67
  ),
68
  ),
69
  );
6
  'aliases' =>
7
  array (
8
  ),
9
+ 'reference' => 'e1a847c386e4423a9703db41f896109885744db7',
10
  'name' => 'weglot/translate-wordpress',
11
  ),
12
  'versions' =>
45
  'aliases' =>
46
  array (
47
  ),
48
+ 'reference' => 'e1a847c386e4423a9703db41f896109885744db7',
49
  ),
50
  'weglot/translation-definitions' =>
51
  array (
58
  ),
59
  'weglot/weglot-php' =>
60
  array (
61
+ 'pretty_version' => '1.3.4',
62
+ 'version' => '1.3.4.0',
63
  'aliases' =>
64
  array (
65
  ),
66
+ 'reference' => '38d07fee3b3cf2d2bd3a64be5460ea255d57eabd',
67
  ),
68
  ),
69
  );
vendor/weglot/weglot-php/package.json DELETED
@@ -1,20 +0,0 @@
1
- {
2
- "name": "weglot",
3
- "version": "2.0.0",
4
- "description": "Weglot lib-php",
5
- "main": "index.js",
6
- "repository": {
7
- "type": "git",
8
- "url": "git+https://github.com/weglot/weglot-php.git"
9
- },
10
- "author": "",
11
- "license": "MIT",
12
- "bugs": {
13
- "url": "https://github.com/weglot/weglot-php/issues"
14
- },
15
- "homepage": "https://github.com/weglot/weglot-php#readme",
16
- "devDependencies": {},
17
- "dependencies": {
18
- "@weglot/languages": "latest"
19
- }
20
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/weglot/weglot-php/src/Util/Server.php CHANGED
@@ -30,6 +30,21 @@ class Server
30
  return self::getProtocol($server) . '://' . self::getHost($server, $use_forwarded_host);
31
  }
32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  /**
34
  * @param array $server
35
  * @return int
@@ -44,12 +59,6 @@ class Server
44
  Text::contains($userAgent, 'Ahrefs') ||
45
  Text::contains($userAgent, 'SemrushBot'));
46
 
47
- $checkBotVe = Text::contains($userAgent, 'Weglot Visual Editor');
48
-
49
- if($userAgent !== null && $checkBotVe){
50
- return BotType::WGVE;
51
- }
52
-
53
  if ($userAgent !== null && !$checkBotAgent) {
54
  return BotType::HUMAN;
55
  }
30
  return self::getProtocol($server) . '://' . self::getHost($server, $use_forwarded_host);
31
  }
32
 
33
+ /**
34
+ * @param array $server
35
+ * @return bool
36
+ */
37
+ public static function detectBotVe(array $server)
38
+ {
39
+ $userAgent = self::getUserAgent($server);
40
+ $checkBotVe = Text::contains($userAgent, 'Weglot Visual Editor');
41
+ if($userAgent !== null && $checkBotVe){
42
+ return true;
43
+ }
44
+
45
+ return false;
46
+ }
47
+
48
  /**
49
  * @param array $server
50
  * @return int
59
  Text::contains($userAgent, 'Ahrefs') ||
60
  Text::contains($userAgent, 'SemrushBot'));
61
 
 
 
 
 
 
 
62
  if ($userAgent !== null && !$checkBotAgent) {
63
  return BotType::HUMAN;
64
  }
weglot.php CHANGED
@@ -7,7 +7,7 @@ Author: Weglot Translate team
7
  Author URI: https://weglot.com/
8
  Text Domain: weglot
9
  Domain Path: /languages/
10
- Version: 3.6
11
  */
12
 
13
  /**
@@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
22
  define( 'WEGLOT_NAME', 'Weglot' );
23
  define( 'WEGLOT_SLUG', 'weglot-translate' );
24
  define( 'WEGLOT_OPTION_GROUP', 'group-weglot-translate' );
25
- define( 'WEGLOT_VERSION', '3.6' );
26
  define( 'WEGLOT_PHP_MIN', '5.6' );
27
  define( 'WEGLOT_BNAME', plugin_basename( __FILE__ ) );
28
  define( 'WEGLOT_DIR', __DIR__ );
7
  Author URI: https://weglot.com/
8
  Text Domain: weglot
9
  Domain Path: /languages/
10
+ Version: 3.6.1
11
  */
12
 
13
  /**
22
  define( 'WEGLOT_NAME', 'Weglot' );
23
  define( 'WEGLOT_SLUG', 'weglot-translate' );
24
  define( 'WEGLOT_OPTION_GROUP', 'group-weglot-translate' );
25
+ define( 'WEGLOT_VERSION', '3.6.1' );
26
  define( 'WEGLOT_PHP_MIN', '5.6' );
27
  define( 'WEGLOT_BNAME', plugin_basename( __FILE__ ) );
28
  define( 'WEGLOT_DIR', __DIR__ );