Custom Field Template - Version 2.1.4

Version Description

  • Bugfix: radio type in a fieldset.
Download this release

Release Info

Developer Hiroaki Miyashita
Plugin Icon 128x128 Custom Field Template
Version 2.1.4
Comparing to
See all releases

Code changes from version 2.1.3 to 2.1.4

Files changed (2) hide show
  1. custom-field-template.php +3 -2
  2. readme.txt +4 -1
custom-field-template.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Custom Field Template
4
  Plugin URI: http://wpgogo.com/development/custom-field-template.html
5
  Description: This plugin adds the default custom fields on the Write Post/Page.
6
  Author: Hiroaki Miyashita
7
- Version: 2.1.3
8
  Author URI: http://wpgogo.com/
9
  */
10
 
@@ -2021,7 +2021,8 @@ jQuery(this).addClass("closed");
2021
 
2022
  if ( is_array($values) ) :
2023
  foreach( $values as $val ) {
2024
- $id = $name_id . '_' . $this->sanitize_name( $val ) . '_' . $sid . '_' . $cftnum;
 
2025
 
2026
  $checked = ( stripcslashes(trim( $val )) == trim( $selected ) ) ? 'checked="checked"' : '';
2027
 
4
  Plugin URI: http://wpgogo.com/development/custom-field-template.html
5
  Description: This plugin adds the default custom fields on the Write Post/Page.
6
  Author: Hiroaki Miyashita
7
+ Version: 2.1.4
8
  Author URI: http://wpgogo.com/
9
  */
10
 
2021
 
2022
  if ( is_array($values) ) :
2023
  foreach( $values as $val ) {
2024
+ $value_id = preg_replace( '/%/', '', $this->sanitize_name( $val ) );
2025
+ $id = $name_id . '_' . $value_id . '_' . $sid . '_' . $cftnum;
2026
 
2027
  $checked = ( stripcslashes(trim( $val )) == trim( $selected ) ) ? 'checked="checked"' : '';
2028
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wpgogo.com/development/custom-field-template.html
4
  Tags: custom field, custom fields, custom, fields, field, template, meta, custom field template, custom post type
5
  Requires at least: 2.1
6
  Tested up to: 3.6
7
- Stable tag: 2.1.3
8
  License: GPLv2 or later
9
 
10
  The Custom Field Template plugin extends the functionality of custom fields.
@@ -112,6 +112,9 @@ See the default template and modify it.
112
 
113
  == Changelog ==
114
 
 
 
 
115
  = 2.1.3 =
116
  * Code cleaning.
117
 
4
  Tags: custom field, custom fields, custom, fields, field, template, meta, custom field template, custom post type
5
  Requires at least: 2.1
6
  Tested up to: 3.6
7
+ Stable tag: 2.1.4
8
  License: GPLv2 or later
9
 
10
  The Custom Field Template plugin extends the functionality of custom fields.
112
 
113
  == Changelog ==
114
 
115
+ = 2.1.4 =
116
+ * Bugfix: radio type in a fieldset.
117
+
118
  = 2.1.3 =
119
  * Code cleaning.
120