WPGlobus – Multilingual Everything! - Version 2.7.8

Version Description

  • (Vendor/ACF) Fixed an issue with empty ACF fields.
Download this release

Release Info

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

Code changes from version 2.7.7 to 2.7.8

includes/vendor/acf/class-wpglobus-acf.php CHANGED
@@ -139,6 +139,17 @@ class WPGlobus_Acf_2 {
139
  $_acf_field = self::_acf_get_field_by_key( $field->meta_value );
140
  }
141
 
 
 
 
 
 
 
 
 
 
 
 
142
  if ( 'wysiwyg' == $_acf_field['type'] ) {
143
  if ( $field_wysiwyg_enabled ) {
144
  $_post_meta_fields_temp[ $_key ] = $_key;
139
  $_acf_field = self::_acf_get_field_by_key( $field->meta_value );
140
  }
141
 
142
+ /**
143
+ * @since 2.7.8
144
+ */
145
+ if ( empty( $_acf_field ) || ! is_array( $_acf_field ) ) {
146
+ /**
147
+ * In some rarily cases self::_acf_get_field_by_key returns empty field.
148
+ * @todo need more investigation
149
+ */
150
+ continue;
151
+ }
152
+
153
  if ( 'wysiwyg' == $_acf_field['type'] ) {
154
  if ( $field_wysiwyg_enabled ) {
155
  $_post_meta_fields_temp[ $_key ] = $_key;
languages/wpglobus.pot CHANGED
@@ -1,8 +1,8 @@
1
- # Copyright (C) 2021 WPGlobus 2.7.7
2
- # This file is distributed under the same license as the WPGlobus 2.7.7 package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WPGlobus 2.7.7\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.7.8
2
+ # This file is distributed under the same license as the WPGlobus 2.7.8 package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WPGlobus 2.7.8\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
@@ -220,6 +220,9 @@ WPGlobus Version 2 supports WordPress 5.x, with Gutenberg.
220
 
221
  == Changelog ==
222
 
 
 
 
223
  = 2.7.7 =
224
  * (Vendor/Yoast) Added filter for `wpseo_titles` option.
225
  * (Core/Post Types) Added the `WP MyLinks`, `Ninja Forms` plugins post types to the `"hidden types"` list.
@@ -234,10 +237,6 @@ WPGlobus Version 2 supports WordPress 5.x, with Gutenberg.
234
  = 2.7.5 =
235
  * (Customizer) Added check/uncheck all fields option in Fields Settings section.
236
 
237
- = 2.7.4 =
238
- * (Vendor/Yoast) Fixed issue with attachment caption in Schema Presenter.
239
- * (Core/Options) Avoid warning when `get_plugins` tries to open non-existing folder.
240
-
241
  = Earlier versions and Add-ons =
242
 
243
  * [See the complete changelog here](https://github.com/WPGlobus/WPGlobus/blob/master/CHANGELOG.md)
220
 
221
  == Changelog ==
222
 
223
+ = 2.7.8 =
224
+ * (Vendor/ACF) Fixed an issue with empty ACF fields.
225
+
226
  = 2.7.7 =
227
  * (Vendor/Yoast) Added filter for `wpseo_titles` option.
228
  * (Core/Post Types) Added the `WP MyLinks`, `Ninja Forms` plugins post types to the `"hidden types"` list.
237
  = 2.7.5 =
238
  * (Customizer) Added check/uncheck all fields option in Fields Settings section.
239
 
 
 
 
 
240
  = Earlier versions and Add-ons =
241
 
242
  * [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.7.7
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.7.7' );
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.7.8
19
  * Author: WPGlobus
20
  * Author URI: https://wpglobus.com/
21
  * Network: false
44
  exit;
45
  }
46
 
47
+ define( 'WPGLOBUS_VERSION', '2.7.8' );
48
  define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
49
  define( 'WPGLOBUS_AJAX', 'wpglobus-ajax' );
50