WPGlobus – Multilingual Everything! - Version 2.6.4

Version Description

  • (Core/Plugin Install) Added WPGlobus for Ultimate Member info box to the plugins list.
  • (Core/Post Types) Added the Popup Maker plugin post types to the "hidden types" list.
Download this release

Release Info

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

Code changes from version 2.6.3 to 2.6.4

data/paid_plugins.json CHANGED
@@ -1,66 +1,72 @@
1
- {
2
- "woocommerce-wpglobus": {
3
- "slug": "woocommerce-wpglobus",
4
- "loader": "woocommerce-wpglobus.php",
5
- "image_file": "woocommerce-wpglobus-logo-300x300.png",
6
- "order": 100
7
- },
8
- "wpglobus-plus": {
9
- "slug": "wpglobus-plus",
10
- "loader": "wpglobus-plus.php",
11
- "image_file": "wpglobus-plus-logo-300x300.png",
12
- "order": 90
13
- },
14
- "wpglobus-revslider": {
15
- "slug": "wpglobus-revslider",
16
- "loader": "wpglobus-revslider.php",
17
- "product_slug": "wpglobus-for-slider-revolution",
18
- "image_file": "wpglobus-revslider-logo-400x400.png",
19
- "order": 60,
20
- "available": false
21
- },
22
- "wpglobus-language-widgets": {
23
- "slug": "wpglobus-language-widgets",
24
- "loader": "wpglobus-language-widgets.php",
25
- "image_file": "wpglobus-lw-logo-400x400.png",
26
- "order": 50
27
- },
28
- "wpglobus-menu-visibility": {
29
- "slug": "wpglobus-menu-visibility",
30
- "loader": "wpglobus-menu-visibility.php",
31
- "image_file": "wpglobus-menu-visibility-logo.png",
32
- "order": 40
33
- },
34
- "wpglobus-header-images": {
35
- "slug": "wpglobus-header-images",
36
- "loader": "wpglobus-header-images.php",
37
- "image_file": "wpglobus-hi-logo-400x400.png",
38
- "order": 30
39
- },
40
- "wpglobus-mobile-menu": {
41
- "slug": "wpglobus-mobile-menu",
42
- "loader": "wpglobus-mobile-menu.php",
43
- "image_file": "wpglobus-mobile-menu-logo-400x400.png",
44
- "order": 20
45
- },
46
- "wpglobus-multilingual-notices": {
47
- "slug": "wpglobus-multilingual-notices",
48
- "loader": "wpglobus-multilingual-notices.php",
49
- "image_file": "wpglobus-multilingual-notices-logo.png",
50
- "order": 10
51
- },
52
- "wpglobus-for-bridge-theme": {
53
- "slug": "wpglobus-for-bridge-theme",
54
- "loader": "wpglobus-for-bridge-theme.php",
55
- "product_slug": "wpglobus-for-bridge-theme",
56
- "image_file": "wpglobus-for-bridge-theme-logo-400x400.png",
57
- "order": 10
58
- },
59
- "woocommerce-nets-netaxept": {
60
- "slug": "woocommerce-nets-netaxept",
61
- "loader": "woocommerce-nets-netaxept.php",
62
- "product_slug": "multilingual-woocommerce-nets-netaxept",
63
- "image_file": "woocommerce-wpglobus-netaxeptcw-logo-300x300.jpg",
64
- "order": 1
65
- }
66
- }
 
 
 
 
 
 
1
+ {
2
+ "woocommerce-wpglobus": {
3
+ "slug": "woocommerce-wpglobus",
4
+ "loader": "woocommerce-wpglobus.php",
5
+ "image_file": "woocommerce-wpglobus-logo-300x300.png",
6
+ "order": 100
7
+ },
8
+ "wpglobus-plus": {
9
+ "slug": "wpglobus-plus",
10
+ "loader": "wpglobus-plus.php",
11
+ "image_file": "wpglobus-plus-logo-300x300.png",
12
+ "order": 90
13
+ },
14
+ "wpglobus-revslider": {
15
+ "slug": "wpglobus-revslider",
16
+ "loader": "wpglobus-revslider.php",
17
+ "product_slug": "wpglobus-for-slider-revolution",
18
+ "image_file": "wpglobus-revslider-logo-400x400.png",
19
+ "order": 60,
20
+ "available": false
21
+ },
22
+ "wpglobus-language-widgets": {
23
+ "slug": "wpglobus-language-widgets",
24
+ "loader": "wpglobus-language-widgets.php",
25
+ "image_file": "wpglobus-lw-logo-400x400.png",
26
+ "order": 50
27
+ },
28
+ "wpglobus-menu-visibility": {
29
+ "slug": "wpglobus-menu-visibility",
30
+ "loader": "wpglobus-menu-visibility.php",
31
+ "image_file": "wpglobus-menu-visibility-logo.png",
32
+ "order": 40
33
+ },
34
+ "wpglobus-header-images": {
35
+ "slug": "wpglobus-header-images",
36
+ "loader": "wpglobus-header-images.php",
37
+ "image_file": "wpglobus-hi-logo-400x400.png",
38
+ "order": 30
39
+ },
40
+ "wpglobus-mobile-menu": {
41
+ "slug": "wpglobus-mobile-menu",
42
+ "loader": "wpglobus-mobile-menu.php",
43
+ "image_file": "wpglobus-mobile-menu-logo-400x400.png",
44
+ "order": 20
45
+ },
46
+ "wpglobus-for-ultimate-member": {
47
+ "slug": "wpglobus-for-ultimate-member",
48
+ "loader": "wpglobus-for-ultimate-member.php",
49
+ "image_file": "https://wpglobus.com/app/uploads/2021/01/wpglobus-for-um-logo-400x400-1.png",
50
+ "order": 15
51
+ },
52
+ "wpglobus-multilingual-notices": {
53
+ "slug": "wpglobus-multilingual-notices",
54
+ "loader": "wpglobus-multilingual-notices.php",
55
+ "image_file": "wpglobus-multilingual-notices-logo.png",
56
+ "order": 10
57
+ },
58
+ "wpglobus-for-bridge-theme": {
59
+ "slug": "wpglobus-for-bridge-theme",
60
+ "loader": "wpglobus-for-bridge-theme.php",
61
+ "product_slug": "wpglobus-for-bridge-theme",
62
+ "image_file": "wpglobus-for-bridge-theme-logo-400x400.png",
63
+ "order": 10
64
+ },
65
+ "woocommerce-nets-netaxept": {
66
+ "slug": "woocommerce-nets-netaxept",
67
+ "loader": "woocommerce-nets-netaxept.php",
68
+ "product_slug": "multilingual-woocommerce-nets-netaxept",
69
+ "image_file": "woocommerce-wpglobus-netaxeptcw-logo-300x300.jpg",
70
+ "order": 1
71
+ }
72
+ }
data/wpglobus-product-info.json CHANGED
@@ -1 +1 @@
1
- {"multilingual-woocommerce-nets-netaxept":{"title":"{:en}Multilingual WooCommerce Nets Netaxept{:}{:ru}\u041c\u0443\u043b\u044c\u0442\u0438\u044f\u0437\u044b\u0447\u043d\u043e\u0441\u0442\u044c \u0434\u043b\u044f WooCommerce Nets Netaxept{:}","_api_new_version":"1.0.3","_api_tested_up_to":"4.9.8"},"wpglobus-menu-visibility":{"title":"WPGlobus Menu Visibility","_api_new_version":"1.2.0","_api_tested_up_to":"4.9.6"},"wpglobus-multi-currency":{"title":"{:en}Multi-Currency for WooCommerce{:}{:ru}WPGlobus - \u041c\u0443\u043b\u044c\u0442\u0438\u0432\u0430\u043b\u044e\u0442\u043d\u043e\u0441\u0442\u044c \u0434\u043b\u044f WooCommerce{:}","_api_new_version":"1.1.1","_api_tested_up_to":"4.9.4"},"wpglobus-mobile-menu":{"title":"{:en}WPGlobus Mobile Menu{:}{:ru}WPGlobus Mobile Menu{:}","_api_new_version":"2.2.0","_api_tested_up_to":"5.6"},"wpglobus-header-images":{"title":"{:en}WPGlobus Header Images{:}{:ru}WPGlobus Header Images{:}","_api_new_version":"2.1.0","_api_tested_up_to":"5.5"},"wpglobus-for-bridge-theme":{"title":"{:en}WPGlobus for the \"Bridge\" theme{:}{:ru}WPGlobus \u0434\u043b\u044f \u0442\u0435\u043c\u044b Bridge{:}","_api_new_version":"2.3.0","_api_tested_up_to":"5.5"},"wpglobus-multilingual-notices":{"title":"{:en}WPGlobus Multilingual Notices{:}{:ru}WPGlobus - \u043c\u043d\u043e\u0433\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0435 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f{:}","_api_new_version":"2.2.0","_api_tested_up_to":"5.5"},"woocommerce-wpglobus":{"title":"{:en}WPGlobus for WooCommerce{:}{:ru}\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 WooCommerce WPGlobus{:}","_api_new_version":"4.2.0","_api_tested_up_to":"5.6"},"wpglobus-plus":{"title":"{:en}WPGlobus Plus multilingual extension{:}{:ru}WPGlobus \u041f\u043b\u044e\u0441{:}","_api_new_version":"1.5.2","_api_tested_up_to":"5.6"},"wpglobus-language-widgets":{"title":"{:en}WPGlobus Language Widgets{:}{:ru}\u042f\u0437\u044b\u043a\u0438 WPGlobus \u0434\u043b\u044f \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432{:}","_api_new_version":"2.0.0","_api_tested_up_to":"5.6.0"},"wpglobus-for-ultimate-member":{"title":"{:en}WPGlobus for Ultimate Member{:}{:ru}WPGlobus \u0434\u043b\u044f \u043f\u043b\u0430\u0433\u0438\u043d\u0430 Ultimate Member{:}","_api_new_version":"1.1.0","_api_tested_up_to":"5.6"}}
1
+ {"multilingual-woocommerce-nets-netaxept":{"title":"{:en}Multilingual WooCommerce Nets Netaxept{:}{:ru}\u041c\u0443\u043b\u044c\u0442\u0438\u044f\u0437\u044b\u0447\u043d\u043e\u0441\u0442\u044c \u0434\u043b\u044f WooCommerce Nets Netaxept{:}","_api_new_version":"1.0.3","_api_tested_up_to":"4.9.8"},"wpglobus-menu-visibility":{"title":"WPGlobus Menu Visibility","_api_new_version":"1.2.0","_api_tested_up_to":"4.9.6"},"wpglobus-multi-currency":{"title":"{:en}Multi-Currency for WooCommerce{:}{:ru}WPGlobus - \u041c\u0443\u043b\u044c\u0442\u0438\u0432\u0430\u043b\u044e\u0442\u043d\u043e\u0441\u0442\u044c \u0434\u043b\u044f WooCommerce{:}","_api_new_version":"1.1.1","_api_tested_up_to":"4.9.4"},"wpglobus-mobile-menu":{"title":"{:en}WPGlobus Mobile Menu{:}{:ru}WPGlobus Mobile Menu{:}","_api_new_version":"2.2.0","_api_tested_up_to":"5.6"},"wpglobus-header-images":{"title":"{:en}WPGlobus Header Images{:}{:ru}WPGlobus Header Images{:}","_api_new_version":"2.1.0","_api_tested_up_to":"5.5"},"wpglobus-for-bridge-theme":{"title":"{:en}WPGlobus for the \"Bridge\" theme{:}{:ru}WPGlobus \u0434\u043b\u044f \u0442\u0435\u043c\u044b Bridge{:}","_api_new_version":"2.3.0","_api_tested_up_to":"5.5"},"woocommerce-wpglobus":{"title":"{:en}WPGlobus for WooCommerce{:}{:ru}\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 WooCommerce WPGlobus{:}","_api_new_version":"4.2.0","_api_tested_up_to":"5.6"},"wpglobus-plus":{"title":"{:en}WPGlobus Plus multilingual extension{:}{:ru}WPGlobus \u041f\u043b\u044e\u0441{:}","_api_new_version":"1.5.2","_api_tested_up_to":"5.6"},"wpglobus-language-widgets":{"title":"{:en}WPGlobus Language Widgets{:}{:ru}\u042f\u0437\u044b\u043a\u0438 WPGlobus \u0434\u043b\u044f \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432{:}","_api_new_version":"2.0.0","_api_tested_up_to":"5.6.0"},"wpglobus-for-ultimate-member":{"title":"{:en}WPGlobus for Ultimate Member{:}{:ru}WPGlobus \u0434\u043b\u044f \u043f\u043b\u0430\u0433\u0438\u043d\u0430 Ultimate Member{:}","_api_new_version":"1.1.0","_api_tested_up_to":"5.6"},"wpglobus-multilingual-notices":{"title":"{:en}WPGlobus Multilingual Notices{:}{:ru}WPGlobus - \u043c\u043d\u043e\u0433\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0435 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f{:}","_api_new_version":"2.3.0","_api_tested_up_to":"5.6"}}
includes/admin/class-wpglobus-plugin-install.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * File: class-wpglobus-plugin-install.php
4
  *
5
- * @since 1.5.9
6
  * @package WPGlobus\Admin
7
  */
8
 
@@ -213,7 +213,21 @@ if ( ! class_exists( 'WPGlobus_Plugin_Install' ) ) :
213
 
214
  $info->slug = $slug;
215
 
216
- $info->icons['default'] = WPGlobus::internal_images_url() . '/' . $paid_plugin['image_file'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
217
  $info->icons['1x'] = $info->icons['default'];
218
  $info->icons['2x'] = $info->icons['default'];
219
 
@@ -349,3 +363,5 @@ if ( ! class_exists( 'WPGlobus_Plugin_Install' ) ) :
349
  }
350
 
351
  endif;
 
 
2
  /**
3
  * File: class-wpglobus-plugin-install.php
4
  *
5
+ * @since 1.5.9
6
  * @package WPGlobus\Admin
7
  */
8
 
213
 
214
  $info->slug = $slug;
215
 
216
+ /**
217
+ * @since 2.6.4
218
+ */
219
+ $internal_image = true;
220
+ foreach( array( 'http://', 'https://' ) as $_scheme ) {
221
+ if ( false !== strpos( $paid_plugin['image_file'], $_scheme ) ) {
222
+ $internal_image = false;
223
+ }
224
+ }
225
+
226
+ if ( $internal_image ) {
227
+ $info->icons['default'] = WPGlobus::internal_images_url() . '/' . $paid_plugin['image_file'];
228
+ } else {
229
+ $info->icons['default'] = $paid_plugin['image_file'];
230
+ }
231
  $info->icons['1x'] = $info->icons['default'];
232
  $info->icons['2x'] = $info->icons['default'];
233
 
363
  }
364
 
365
  endif;
366
+
367
+ # --- EOF
includes/class-wpglobus-post-types.php CHANGED
@@ -110,7 +110,10 @@ class WPGlobus_Post_Types {
110
  'oceanwp_library',
111
  // Ultimate Member – User Profile, User Registration, Login & Membership Plugin: https://wordpress.org/plugins/ultimate-member/ @since 2.6.2
112
  'um_form',
113
- 'um_directory'
 
 
 
114
  );
115
 
116
  /**
110
  'oceanwp_library',
111
  // Ultimate Member – User Profile, User Registration, Login & Membership Plugin: https://wordpress.org/plugins/ultimate-member/ @since 2.6.2
112
  'um_form',
113
+ 'um_directory',
114
+ // Popup Maker – Popup for opt-ins, lead gen, & more: https://wordpress.org/plugins/popup-maker/ @since 2.6.4
115
+ 'popup',
116
+ 'popup_theme'
117
  );
118
 
119
  /**
languages/wpglobus.pot CHANGED
@@ -1,8 +1,8 @@
1
- # Copyright (C) 2021 WPGlobus 2.6.3
2
- # This file is distributed under the same license as the WPGlobus 2.6.3 package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WPGlobus 2.6.3\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) 2021 WPGlobus 2.6.4
2
+ # This file is distributed under the same license as the WPGlobus 2.6.4 package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WPGlobus 2.6.4\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
@@ -217,6 +217,10 @@ WPGlobus Version 2 supports WordPress 5.x, with Gutenberg.
217
 
218
  == Changelog ==
219
 
 
 
 
 
220
  = 2.6.3 =
221
  * (Vendor/Yoast) Fixed issue with empty Open Graph description.
222
  * (Updater) Missing assets in the ZIP file.
@@ -239,32 +243,6 @@ WPGlobus Version 2 supports WordPress 5.x, with Gutenberg.
239
  * (Core) Revised filters on `widgets.php` page.
240
  * (Core/WidgetsJS) Code refactored for Image widgets.
241
 
242
- = 2.5.23 =
243
- * (Vendor/Yoast) Fixed filter for the post title when post meta is empty.
244
-
245
- = 2.5.22 =
246
-
247
- * (Vendor/Yoast) Added filters for the taxonomy title, description, Open Graph title and description.
248
- * (Vendor/Yoast) Fixed filter for the post title.
249
-
250
- = 2.5.21 =
251
-
252
- * (Customizer) WPGlobus Customizer is switched off for the `NewYork City` theme.
253
- * (Customizer) CSS tweak for the `description` field.
254
-
255
- = 2.5.20 =
256
-
257
- * (Core/Recommendations) Added admin notices about required versions of WordPress PHP.
258
-
259
- = 2.5.19 =
260
-
261
- * (Options/Languages table) Added Georgian language and flag image.
262
- * (Vendor/Yoast) Added multilingual support for the fields in the Social tab.
263
-
264
- = 2.5.18 =
265
-
266
- * (Builders/Pods) Fixed `Uncaught Error: Call to a member function fields() on bool`.
267
-
268
  = Earlier versions and Add-ons =
269
 
270
  * [See the complete changelog here](https://github.com/WPGlobus/WPGlobus/blob/master/CHANGELOG.md)
217
 
218
  == Changelog ==
219
 
220
+ = 2.6.4 =
221
+ * (Core/Plugin Install) Added `WPGlobus for Ultimate Member` info box to the plugins list.
222
+ * (Core/Post Types) Added the `Popup Maker` plugin post types to the `"hidden types"` list.
223
+
224
  = 2.6.3 =
225
  * (Vendor/Yoast) Fixed issue with empty Open Graph description.
226
  * (Updater) Missing assets in the ZIP file.
243
  * (Core) Revised filters on `widgets.php` page.
244
  * (Core/WidgetsJS) Code refactored for Image widgets.
245
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
246
  = Earlier versions and Add-ons =
247
 
248
  * [See the complete changelog here](https://github.com/WPGlobus/WPGlobus/blob/master/CHANGELOG.md)
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.6.3
19
  * Author: WPGlobus
20
  * Author URI: https://wpglobus.com/
21
  * Network: false
@@ -44,7 +44,7 @@ if ( ! defined( 'ABSPATH' ) ) {
44
  exit;
45
  }
46
 
47
- define( 'WPGLOBUS_VERSION', '2.6.3' );
48
  define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
49
  define( 'WPGLOBUS_AJAX', 'wpglobus-ajax' );
50
 
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.6.4
19
  * Author: WPGlobus
20
  * Author URI: https://wpglobus.com/
21
  * Network: false
44
  exit;
45
  }
46
 
47
+ define( 'WPGLOBUS_VERSION', '2.6.4' );
48
  define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
49
  define( 'WPGLOBUS_AJAX', 'wpglobus-ajax' );
50