WPGlobus – Multilingual Everything! - Version 2.1.2

Version Description

  • FIXED:
    • Builders/Gutenberg: the CPT support when the Classic Editor plugin is not active.
Download this release

Release Info

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

Code changes from version 2.1.1 to 2.1.2

includes/builders/class-wpglobus-builders.php CHANGED
@@ -741,10 +741,13 @@ if ( ! class_exists( 'WPGlobus_Builders' ) ) :
741
  if ( ! empty( $_GET['post'] ) ) { // phpcs:ignore WordPress.CSRF.NonceVerification
742
  $post_type = self::get_post_type( $_GET['post'] ); // phpcs:ignore WordPress.CSRF.NonceVerification
743
  }
744
-
745
- if ( ! in_array( $post_type, array( 'post', 'page' ), true ) ) {
746
- $load_gutenberg = false;
747
- }
 
 
 
748
 
749
  $load_gutenberg = self::get_3rd_party_status_for_gutenberg( $load_gutenberg );
750
 
741
  if ( ! empty( $_GET['post'] ) ) { // phpcs:ignore WordPress.CSRF.NonceVerification
742
  $post_type = self::get_post_type( $_GET['post'] ); // phpcs:ignore WordPress.CSRF.NonceVerification
743
  }
744
+
745
+ /**
746
+ * @todo don't check post type @since 2.1.2
747
+ */
748
+ // if ( ! in_array( $post_type, array( 'post', 'page' ), true ) ) {
749
+ // $load_gutenberg = false;
750
+ // }
751
 
752
  $load_gutenberg = self::get_3rd_party_status_for_gutenberg( $load_gutenberg );
753
 
readme.txt CHANGED
@@ -216,6 +216,11 @@ WPGlobus Version 2 supports WordPress 5.x, with Gutenberg.
216
 
217
  == Changelog ==
218
 
 
 
 
 
 
219
  = 2.1.1 =
220
 
221
  * FIXED:
216
 
217
  == Changelog ==
218
 
219
+ = 2.1.2 =
220
+
221
+ * FIXED:
222
+ * Builders/Gutenberg: the CPT support when the `Classic Editor` plugin is not active.
223
+
224
  = 2.1.1 =
225
 
226
  * FIXED:
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.1.1
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.1.1' );
46
  define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
47
 
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.1.2
19
  * Author: WPGlobus
20
  * Author URI: https://wpglobus.com/
21
  * Network: false
42
  exit;
43
  }
44
 
45
+ define( 'WPGLOBUS_VERSION', '2.1.2' );
46
  define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
47
 
48
  /**