Advanced Custom Fields: Extended - Version 0.7.9.9.9

Version Description

  • Field: Flexible Content - Fixed Copy/Paste function doing incorrect checks on radio, checkboxes and select inputs
  • Field Group: Fixed field 'Data' button being displayed on newly created fields
Download this release

Release Info

Developer hwk-fr
Plugin Icon 128x128 Advanced Custom Fields: Extended
Version 0.7.9.9.9
Comparing to
See all releases

Code changes from version 0.7.9.9.8 to 0.7.9.9.9

acf-extended.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Advanced Custom Fields: Extended
4
  * Description: Enhancement Suite which improves Advanced Custom Fields administration
5
- * Version: 0.7.9.9.8
6
  * Author: ACF Extended
7
  * Author URI: https://www.acf-extended.com
8
  * Text Domain: acfe
@@ -17,7 +17,7 @@ if(!defined('ABSPATH'))
17
  if(!defined('ACFE_FILE')) define('ACFE_FILE', __FILE__);
18
  if(!defined('ACFE_PATH')) define('ACFE_PATH', plugin_dir_path(__FILE__));
19
  if(!defined('ACFE_URL')) define('ACFE_URL', plugin_dir_url(__FILE__));
20
- if(!defined('ACFE_VERSION')) define('ACFE_VERSION', '0.7.9.9.6');
21
  if(!defined('ACFE_BASENAME')) define('ACFE_BASENAME', plugin_basename(__FILE__));
22
  if(!defined('ACFE_THEME_PATH')) define('ACFE_THEME_PATH', get_stylesheet_directory());
23
  if(!defined('ACFE_THEME_URL')) define('ACFE_THEME_URL', get_stylesheet_directory_uri());
2
  /**
3
  * Plugin Name: Advanced Custom Fields: Extended
4
  * Description: Enhancement Suite which improves Advanced Custom Fields administration
5
+ * Version: 0.7.9.9.9
6
  * Author: ACF Extended
7
  * Author URI: https://www.acf-extended.com
8
  * Text Domain: acfe
17
  if(!defined('ACFE_FILE')) define('ACFE_FILE', __FILE__);
18
  if(!defined('ACFE_PATH')) define('ACFE_PATH', plugin_dir_path(__FILE__));
19
  if(!defined('ACFE_URL')) define('ACFE_URL', plugin_dir_url(__FILE__));
20
+ if(!defined('ACFE_VERSION')) define('ACFE_VERSION', '0.7.9.9.9');
21
  if(!defined('ACFE_BASENAME')) define('ACFE_BASENAME', plugin_basename(__FILE__));
22
  if(!defined('ACFE_THEME_PATH')) define('ACFE_THEME_PATH', get_stylesheet_directory());
23
  if(!defined('ACFE_THEME_URL')) define('ACFE_THEME_URL', get_stylesheet_directory_uri());
assets/acf-extended-fc-control.js CHANGED
@@ -138,10 +138,8 @@
138
  var $layout_original = $el.closest('.layout');
139
  var $layout = $el.closest('.layout').clone();
140
 
141
- // Fix TinyMCE attribute value
142
- $layout.find('textarea').each(function(){
143
- $(this).html(this.value);
144
- });
145
 
146
  // Clean Layout
147
  flexible.acfeCleanLayouts($layout);
@@ -440,18 +438,22 @@
440
 
441
  $layout.find('input:radio,input:checkbox').each(function() {
442
 
443
- if($(this).checked)
444
  $(this).attr('checked', 'checked');
 
445
  else
446
  $(this).attr('checked', false);
447
 
448
  });
449
 
450
  $layout.find('option').each(function(){
451
- if($(this).selected)
 
452
  $(this).attr('selected', 'selected');
 
453
  else
454
  $(this).attr('selected', false);
 
455
  });
456
 
457
  }
138
  var $layout_original = $el.closest('.layout');
139
  var $layout = $el.closest('.layout').clone();
140
 
141
+ // Fix inputs
142
+ flexible.acfeFixInputs($layout);
 
 
143
 
144
  // Clean Layout
145
  flexible.acfeCleanLayouts($layout);
438
 
439
  $layout.find('input:radio,input:checkbox').each(function() {
440
 
441
+ if(this.checked)
442
  $(this).attr('checked', 'checked');
443
+
444
  else
445
  $(this).attr('checked', false);
446
 
447
  });
448
 
449
  $layout.find('option').each(function(){
450
+
451
+ if(this.selected)
452
  $(this).attr('selected', 'selected');
453
+
454
  else
455
  $(this).attr('selected', false);
456
+
457
  });
458
 
459
  }
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: acf, custom fields, meta, admin, fields, form, repeater, content
5
  Requires at least: 4.9
6
  Tested up to: 5.2
7
  Requires PHP: 5.6
8
- Stable tag: 0.7.9.9.8
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -491,6 +491,10 @@ function my_acfe_modules(){
491
 
492
  == Changelog ==
493
 
 
 
 
 
494
  = 0.7.9.9.8 =
495
  * Field: Flexible Content - Fixed Clone & Copy/Paste functions in multi level flexible content (flexible inside flexible inside flexible...) (Thanks @AsmussenBrandon)
496
  * Field: Flexible Content - Fixed CSS border glitch
5
  Requires at least: 4.9
6
  Tested up to: 5.2
7
  Requires PHP: 5.6
8
+ Stable tag: 0.7.9.9.9
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
491
 
492
  == Changelog ==
493
 
494
+ = 0.7.9.9.9 =
495
+ * Field: Flexible Content - Fixed Copy/Paste function doing incorrect checks on radio, checkboxes and select inputs
496
+ * Field Group: Fixed field 'Data' button being displayed on newly created fields
497
+
498
  = 0.7.9.9.8 =
499
  * Field: Flexible Content - Fixed Clone & Copy/Paste functions in multi level flexible content (flexible inside flexible inside flexible...) (Thanks @AsmussenBrandon)
500
  * Field: Flexible Content - Fixed CSS border glitch