WPGlobus – Multilingual Everything! - Version 2.3.11

Version Description

  • (Builders/Yoast SEO) Added WPGLOBUS_YOAST_PLUGIN_FILE constant to set the custom file path.
Download this release

Release Info

Developer tivnet
Plugin Icon 128x128 WPGlobus – Multilingual Everything!
Version 2.3.11
Comparing to
See all releases

Code changes from version 2.3.10 to 2.3.11

includes/builders/class-wpglobus-builders.php CHANGED
@@ -104,7 +104,17 @@ if ( ! class_exists( 'WPGlobus_Builders' ) ) :
104
 
105
  }
106
 
107
- if ( file_exists( WP_PLUGIN_DIR . '/wordpress-seo/wp-seo.php' ) ) {
 
 
 
 
 
 
 
 
 
 
108
 
109
  if ( ! defined( 'WPSEO_PREMIUM_PLUGIN_FILE' ) ) {
110
 
@@ -114,9 +124,9 @@ if ( ! class_exists( 'WPGlobus_Builders' ) ) :
114
  'admin_bar_label' => 'Add-on',
115
  'supported_min_version' => '7.7',
116
  'const' => 'WPSEO_VERSION',
117
- 'plugin_name' => 'Yoast SEO',
118
  'plugin_uri' => 'https://wordpress.org/plugins/wordpress-seo/',
119
- 'path' => 'wordpress-seo/wp-seo.php',
120
  'stage' => 'production',
121
  );
122
 
104
 
105
  }
106
 
107
+ /**
108
+ * @since 2.3.11
109
+ */
110
+ $_file = 'wordpress-seo/wp-seo.php';
111
+ $_plugin_name = 'Yoast SEO';
112
+ if ( defined( 'WPGLOBUS_YOAST_PLUGIN_FILE' ) ) {
113
+ $_file = WPGLOBUS_YOAST_PLUGIN_FILE;
114
+ $_plugin_name = 'Yoast SEO('.$_file.')';
115
+ }
116
+
117
+ if ( file_exists( WP_PLUGIN_DIR . '/' . $_file ) ) {
118
 
119
  if ( ! defined( 'WPSEO_PREMIUM_PLUGIN_FILE' ) ) {
120
 
124
  'admin_bar_label' => 'Add-on',
125
  'supported_min_version' => '7.7',
126
  'const' => 'WPSEO_VERSION',
127
+ 'plugin_name' => $_plugin_name,
128
  'plugin_uri' => 'https://wordpress.org/plugins/wordpress-seo/',
129
+ 'path' => $_file,
130
  'stage' => 'production',
131
  );
132
 
languages/wpglobus.pot CHANGED
@@ -1,8 +1,8 @@
1
- # Copyright (C) 2020 WPGlobus 2.3.10
2
- # This file is distributed under the same license as the WPGlobus 2.3.10 package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WPGlobus 2.3.10\n"
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
1
+ # Copyright (C) 2020 WPGlobus 2.3.11
2
+ # This file is distributed under the same license as the WPGlobus 2.3.11 package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WPGlobus 2.3.11\n"
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
readme.txt CHANGED
@@ -218,6 +218,10 @@ WPGlobus Version 2 supports WordPress 5.x, with Gutenberg.
218
 
219
  == Changelog ==
220
 
 
 
 
 
221
  = 2.3.10 =
222
 
223
  * (Core/Options) Fixed PHP Notice "Undefined index" in the `"Custom Code"` section.
218
 
219
  == Changelog ==
220
 
221
+ = 2.3.11 =
222
+
223
+ * (Builders/Yoast SEO) Added `WPGLOBUS_YOAST_PLUGIN_FILE` constant to set the custom file path.
224
+
225
  = 2.3.10 =
226
 
227
  * (Core/Options) Fixed PHP Notice "Undefined index" in the `"Custom Code"` section.
wpglobus.php CHANGED
@@ -15,7 +15,7 @@
15
  * Description: A WordPress Globalization / Multilingual Plugin. Posts, pages, menus, widgets and even custom fields - in multiple languages!
16
  * Text Domain: wpglobus
17
  * Domain Path: /languages/
18
- * Version: 2.3.10
19
  * Author: WPGlobus
20
  * Author URI: https://wpglobus.com/
21
  * Network: false
@@ -42,7 +42,7 @@ if ( ! defined( 'ABSPATH' ) ) {
42
  exit;
43
  }
44
 
45
- define( 'WPGLOBUS_VERSION', '2.3.10' );
46
  define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
47
  define( 'WPGLOBUS_AJAX', 'wpglobus-ajax' );
48
 
15
  * Description: A WordPress Globalization / Multilingual Plugin. Posts, pages, menus, widgets and even custom fields - in multiple languages!
16
  * Text Domain: wpglobus
17
  * Domain Path: /languages/
18
+ * Version: 2.3.11
19
  * Author: WPGlobus
20
  * Author URI: https://wpglobus.com/
21
  * Network: false
42
  exit;
43
  }
44
 
45
+ define( 'WPGLOBUS_VERSION', '2.3.11' );
46
  define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
47
  define( 'WPGLOBUS_AJAX', 'wpglobus-ajax' );
48