WPGlobus – Multilingual Everything! - Version 2.2.2

Version Description

  • Fixed: (Vendor/Acf) Changed attribute to 'height' for text elements.
Download this release

Release Info

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

Code changes from version 2.2.1 to 2.2.2

includes/js/wpglobus-vendor-acf.js CHANGED
@@ -52,7 +52,7 @@ jQuery(document).ready(function ($) {
52
  var $tfp = $tf.parent('.acf-input-wrap');
53
  if ( $tfp.length == 1 ) {
54
  if ( $tfp.hasClass('acf-input-wrap') ) {
55
- $tfp.css('overflow','visible');
56
  }
57
  }
58
  }
52
  var $tfp = $tf.parent('.acf-input-wrap');
53
  if ( $tfp.length == 1 ) {
54
  if ( $tfp.hasClass('acf-input-wrap') ) {
55
+ $tfp.css('height','auto');
56
  }
57
  }
58
  }
includes/js/wpglobus-vendor-acf.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(s){"use strict";if("undefined"!=typeof WPGlobusAcf&&"undefined"!=typeof WPGlobusDialogApp){var a={option:{},init:function(e){a.option=s.extend(a.option,e),a.option.pro?(a.startAcf(".acf-field"),a.runActions()):(0<s(".acf_postbox .field").length&&a.startAcf(".acf_postbox .field"),0<s(".acf-postbox .acf-field").length&&a.startAcf(".acf-postbox .acf-field")),a.attachListeners()},runActions:function(){void 0!==WPGlobusAcf.actions.fixTextFields&&WPGlobusAcf.actions.fixTextFields&&a.fixTextFields()},fixTextFields:function(){s.each(WPGlobusAcf.fields,function(e,i){var t=s('input[type="text"]#'+i);if(1==t.length){var a=t.parent(".acf-input-wrap");1==a.length&&a.hasClass("acf-input-wrap")&&a.css("overflow","visible")}})},isDisabledField:function(t){var a=!1,n=s("#"+t).parents(".acf-field").attr("id");return void 0!==n&&s.each(WPGlobusAcf.disabledFields,function(e,i){i==n&&(a=!0)}),a||(s.each(WPGlobusAcf.disabledFields,function(e,i){i==t&&(a=!0)}),a)},startAcf:function(e){s(".acf_postbox").parents("#postbox-container-2").length,s(e).each(function(){var e,i,t=s(this);if(t.hasClass("field_type-textarea")||t.hasClass("acf-field-textarea")){if(e=t.find("textarea").attr("id"),a.registerField(e),a.isDisabledField(e))return!0;i=s("#"+e).height()+20,WPGlobusDialogApp.addElement({id:e,dialogTitle:"Edit ACF field",style:"width:97%;float:left;",styleTextareaWrapper:"height:"+i+"px;",sbTitle:"Click for edit",onChangeClass:"wpglobus-on-change-acf-field"})}else if(t.hasClass("field_type-text")||t.hasClass("acf-field-text")){if(e=t.find("input").attr("id"),a.registerField(e),a.isDisabledField(e))return!0;WPGlobusDialogApp.addElement({id:e,dialogTitle:"Edit ACF field",style:"width:97%;float:left;",sbTitle:"Click for edit",onChangeClass:"wpglobus-on-change-acf-field"})}})},registerField:function(e,i){var t=!1;return void 0!==e&&-1==e.indexOf("acfcloneindex")&&(a.isRegisteredField(e)||(t=!0,WPGlobusAcf.fields.push(e))),!!t&&e},getFields:function(){return WPGlobusAcf.fields},getDisabledFields:function(){return WPGlobusAcf.disabledFields},isRegisteredField:function(i){var t=!1;return a.getFields().forEach(function(e){if(e==i)return!(t=!0)}),t},attachListeners:function(){if(a.option.pro){var i=this;acf.add_action&&acf.add_action("append",function(e){i.replaceCloneIndex(e)})}},replaceCloneIndex:function(e){var i=e.data("id");e.find('[data-source-id*="acfcloneindex"]').each(function(){s(this).attr("data-source-id",s(this).attr("data-source-id").replace("acfcloneindex",i))})}};WPGlobusAcf=s.extend({},WPGlobusAcf,a),WPGlobusAcf.init({pro:WPGlobusAcf.pro})}});
1
+ jQuery(document).ready(function(s){"use strict";if("undefined"!=typeof WPGlobusAcf&&"undefined"!=typeof WPGlobusDialogApp){var a={option:{},init:function(e){a.option=s.extend(a.option,e),a.option.pro?(a.startAcf(".acf-field"),a.runActions()):(0<s(".acf_postbox .field").length&&a.startAcf(".acf_postbox .field"),0<s(".acf-postbox .acf-field").length&&a.startAcf(".acf-postbox .acf-field")),a.attachListeners()},runActions:function(){void 0!==WPGlobusAcf.actions.fixTextFields&&WPGlobusAcf.actions.fixTextFields&&a.fixTextFields()},fixTextFields:function(){s.each(WPGlobusAcf.fields,function(e,i){var t=s('input[type="text"]#'+i);if(1==t.length){var a=t.parent(".acf-input-wrap");1==a.length&&a.hasClass("acf-input-wrap")&&a.css("height","auto")}})},isDisabledField:function(t){var a=!1,n=s("#"+t).parents(".acf-field").attr("id");return void 0!==n&&s.each(WPGlobusAcf.disabledFields,function(e,i){i==n&&(a=!0)}),a||(s.each(WPGlobusAcf.disabledFields,function(e,i){i==t&&(a=!0)}),a)},startAcf:function(e){s(".acf_postbox").parents("#postbox-container-2").length,s(e).each(function(){var e,i,t=s(this);if(t.hasClass("field_type-textarea")||t.hasClass("acf-field-textarea")){if(e=t.find("textarea").attr("id"),a.registerField(e),a.isDisabledField(e))return!0;i=s("#"+e).height()+20,WPGlobusDialogApp.addElement({id:e,dialogTitle:"Edit ACF field",style:"width:97%;float:left;",styleTextareaWrapper:"height:"+i+"px;",sbTitle:"Click for edit",onChangeClass:"wpglobus-on-change-acf-field"})}else if(t.hasClass("field_type-text")||t.hasClass("acf-field-text")){if(e=t.find("input").attr("id"),a.registerField(e),a.isDisabledField(e))return!0;WPGlobusDialogApp.addElement({id:e,dialogTitle:"Edit ACF field",style:"width:97%;float:left;",sbTitle:"Click for edit",onChangeClass:"wpglobus-on-change-acf-field"})}})},registerField:function(e,i){var t=!1;return void 0!==e&&-1==e.indexOf("acfcloneindex")&&(a.isRegisteredField(e)||(t=!0,WPGlobusAcf.fields.push(e))),!!t&&e},getFields:function(){return WPGlobusAcf.fields},getDisabledFields:function(){return WPGlobusAcf.disabledFields},isRegisteredField:function(i){var t=!1;return a.getFields().forEach(function(e){if(e==i)return!(t=!0)}),t},attachListeners:function(){if(a.option.pro){var i=this;acf.add_action&&acf.add_action("append",function(e){i.replaceCloneIndex(e)})}},replaceCloneIndex:function(e){var i=e.data("id");e.find('[data-source-id*="acfcloneindex"]').each(function(){s(this).attr("data-source-id",s(this).attr("data-source-id").replace("acfcloneindex",i))})}};WPGlobusAcf=s.extend({},WPGlobusAcf,a),WPGlobusAcf.init({pro:WPGlobusAcf.pro})}});
readme.txt CHANGED
@@ -218,6 +218,10 @@ WPGlobus Version 2 supports WordPress 5.x, with Gutenberg.
218
 
219
  == Changelog ==
220
 
 
 
 
 
221
  = 2.2.1 =
222
 
223
  * Fixed: (Vendor/Acf) Fixed hidden WPGlobus dialog start icon with ACF Pro from v.5.8
@@ -232,12 +236,6 @@ WPGlobus Version 2 supports WordPress 5.x, with Gutenberg.
232
 
233
  * Internal: (Builders/Elementor) Beta-3 version of the `Elementor` support.
234
 
235
- = 2.1.14 =
236
-
237
- * Fixed: (Core/JS) Issue with an incorrect behavior of the dialog form with `hidden` class.
238
- * Added: (Core/Builders) Element `admin_bar_builder_label` to the WP admin bar.
239
- * Internal: (Flags) Added `purple.globe` icon.
240
-
241
  = Earlier versions and Add-ons =
242
 
243
  * [See the complete changelog here](https://github.com/WPGlobus/WPGlobus/blob/master/CHANGELOG.md)
218
 
219
  == Changelog ==
220
 
221
+ = 2.2.2 =
222
+
223
+ * Fixed: (Vendor/Acf) Changed attribute to 'height' for text elements.
224
+
225
  = 2.2.1 =
226
 
227
  * Fixed: (Vendor/Acf) Fixed hidden WPGlobus dialog start icon with ACF Pro from v.5.8
236
 
237
  * Internal: (Builders/Elementor) Beta-3 version of the `Elementor` support.
238
 
 
 
 
 
 
 
239
  = Earlier versions and Add-ons =
240
 
241
  * [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.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.2.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.2.2
19
  * Author: WPGlobus
20
  * Author URI: https://wpglobus.com/
21
  * Network: false
42
  exit;
43
  }
44
 
45
+ define( 'WPGLOBUS_VERSION', '2.2.2' );
46
  define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
47
 
48
  /**