Version Description
- Bugfix: values in a multiple fieldset.
Download this release
Release Info
Developer | Hiroaki Miyashita |
Plugin | Custom Field Template |
Version | 2.1.5 |
Comparing to | |
See all releases |
Code changes from version 2.1.4 to 2.1.5
- custom-field-template.php +4 -4
- 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.
|
8 |
Author URI: http://wpgogo.com/
|
9 |
*/
|
10 |
|
@@ -3031,7 +3031,7 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";*/
|
|
3031 |
|
3032 |
$save_value = array();
|
3033 |
|
3034 |
-
if ( is_array($_FILES) ) :
|
3035 |
foreach($_FILES as $key => $val ) :
|
3036 |
foreach( $val as $key2 => $val2 ) :
|
3037 |
if ( is_array($val2) ) :
|
@@ -3210,7 +3210,7 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";*/
|
|
3210 |
update_option('custom_field_template_data', $options);
|
3211 |
wp_cache_flush();
|
3212 |
|
3213 |
-
do_action('cft_save_post', $
|
3214 |
}
|
3215 |
|
3216 |
function parse_ini_str($Str,$ProcessSections = TRUE) {
|
@@ -3348,7 +3348,7 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";*/
|
|
3348 |
$gap += ($org_counter - $counter);
|
3349 |
endif;
|
3350 |
else :
|
3351 |
-
if ( !isset($cftisexist[$title]) ) $Data[$Data_key][$title]['parentSN'] = $tmp_parentSN+$gap;
|
3352 |
else $Data[$Data_key][$title]['parentSN'] = $tmp_parentSN;
|
3353 |
$returndata[] = $Data[$Data_key];
|
3354 |
if ( isset($fieldset) && is_array($fieldset) ) :
|
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.5
|
8 |
Author URI: http://wpgogo.com/
|
9 |
*/
|
10 |
|
3031 |
|
3032 |
$save_value = array();
|
3033 |
|
3034 |
+
if ( !empty($_FILES) && is_array($_FILES) ) :
|
3035 |
foreach($_FILES as $key => $val ) :
|
3036 |
foreach( $val as $key2 => $val2 ) :
|
3037 |
if ( is_array($val2) ) :
|
3210 |
update_option('custom_field_template_data', $options);
|
3211 |
wp_cache_flush();
|
3212 |
|
3213 |
+
do_action('cft_save_post', $id, $post);
|
3214 |
}
|
3215 |
|
3216 |
function parse_ini_str($Str,$ProcessSections = TRUE) {
|
3348 |
$gap += ($org_counter - $counter);
|
3349 |
endif;
|
3350 |
else :
|
3351 |
+
if ( !isset($cftisexist[$title]) && !isset($fieldset) ) $Data[$Data_key][$title]['parentSN'] = $tmp_parentSN+$gap;
|
3352 |
else $Data[$Data_key][$title]['parentSN'] = $tmp_parentSN;
|
3353 |
$returndata[] = $Data[$Data_key];
|
3354 |
if ( isset($fieldset) && is_array($fieldset) ) :
|
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.
|
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.4 =
|
116 |
* Bugfix: radio type in a fieldset.
|
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.5
|
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.5 =
|
116 |
+
* Bugfix: values in a multiple fieldset.
|
117 |
+
|
118 |
= 2.1.4 =
|
119 |
* Bugfix: radio type in a fieldset.
|
120 |
|