WPGlobus – Multilingual Everything! - Version 2.2.29

Version Description

  • Fixed: (Builders/Gutenberg) Slash stripping on Gutenberg editor.
  • Added: (Core/Post Types) Added post types of NextGEN Gallery to the list of hidden types.
Download this release

Release Info

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

Code changes from version 2.2.28 to 2.2.29

includes/builders/gutenberg/class-wpglobus-gutenberg-update-post.php CHANGED
@@ -245,8 +245,12 @@ if ( ! class_exists( 'WPGlobus_Gutenberg_Update_Post' ) ) :
245
  }
246
 
247
  endforeach;
248
-
249
- $prepared_post->$field = WPGlobus_Utils::build_multilingual_string( $tr );
 
 
 
 
250
 
251
  }
252
 
245
  }
246
 
247
  endforeach;
248
+
249
+ /**
250
+ * @since 2.2.29 we are using `wp_slash` function.
251
+ * @see https://github.com/WPGlobus/WPGlobus/pull/83
252
+ */
253
+ $prepared_post->$field = wp_slash( WPGlobus_Utils::build_multilingual_string( $tr ) );
254
 
255
  }
256
 
includes/class-wpglobus-post-types.php CHANGED
@@ -49,6 +49,14 @@ class WPGlobus_Post_Types {
49
  'vc_grid_item',
50
  // Elementor: @since 2.2.7
51
  'elementor_library',
 
 
 
 
 
 
 
 
52
  );
53
 
54
  /**
49
  'vc_grid_item',
50
  // Elementor: @since 2.2.7
51
  'elementor_library',
52
+ // NextGEN Gallery: @since 2.2.29
53
+ 'ngg_album',
54
+ 'ngg_gallery',
55
+ 'ngg_pictures',
56
+ 'lightbox_library',
57
+ 'displayed_gallery',
58
+ 'display_type',
59
+ 'gal_display_source',
60
  );
61
 
62
  /**
languages/wpglobus.pot CHANGED
@@ -1,8 +1,8 @@
1
- # Copyright (C) 2019 WPGlobus 2.2.28
2
- # This file is distributed under the same license as the WPGlobus 2.2.28 package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WPGlobus 2.2.28\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) 2019 WPGlobus 2.2.29
2
+ # This file is distributed under the same license as the WPGlobus 2.2.29 package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WPGlobus 2.2.29\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,11 @@ WPGlobus Version 2 supports WordPress 5.x, with Gutenberg.
218
 
219
  == Changelog ==
220
 
 
 
 
 
 
221
  = 2.2.28 =
222
 
223
  * Added: (Options) new style for `Add new Language` button.
@@ -227,11 +232,6 @@ WPGlobus Version 2 supports WordPress 5.x, with Gutenberg.
227
 
228
  * Added: (Vendor/Acf) If editor is hidden by ACF, we hide WPGlobus, too.
229
 
230
- = 2.2.26 =
231
-
232
- * Fixed: (Core/Builders) Don't initialize the Builders class when initial attributes are empty.
233
- * Internal: (Builders/Block Editor) Changed the admin bar builder label to `Block Editor`.
234
-
235
  = Earlier versions and Add-ons =
236
 
237
  * [See the complete changelog here](https://github.com/WPGlobus/WPGlobus/blob/master/CHANGELOG.md)
218
 
219
  == Changelog ==
220
 
221
+ = 2.2.29 =
222
+
223
+ * Fixed: (Builders/Gutenberg) Slash stripping on Gutenberg editor.
224
+ * Added: (Core/Post Types) Added post types of `NextGEN Gallery` to the list of hidden types.
225
+
226
  = 2.2.28 =
227
 
228
  * Added: (Options) new style for `Add new Language` button.
232
 
233
  * Added: (Vendor/Acf) If editor is hidden by ACF, we hide WPGlobus, too.
234
 
 
 
 
 
 
235
  = Earlier versions and Add-ons =
236
 
237
  * [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.2.28
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.2.28' );
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.2.29
19
  * Author: WPGlobus
20
  * Author URI: https://wpglobus.com/
21
  * Network: false
42
  exit;
43
  }
44
 
45
+ define( 'WPGLOBUS_VERSION', '2.2.29' );
46
  define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
47
  define( 'WPGLOBUS_AJAX', 'wpglobus-ajax' );
48