Version Description
- Bugfix: backslashes are not saved.
Download this release
Release Info
Developer | Hiroaki Miyashita |
Plugin | Custom Field Template |
Version | 1.5.1 |
Comparing to | |
See all releases |
Code changes from version 1.5 to 1.5.1
- custom-field-template.php +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: 1.5
|
8 |
Author URI: http://wpgogo.com/
|
9 |
*/
|
10 |
|
@@ -2307,7 +2307,7 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";*/
|
|
2307 |
$save_value[$title][0] = count($_REQUEST[$name]);
|
2308 |
break;
|
2309 |
default :
|
2310 |
-
$value =
|
2311 |
|
2312 |
if ( $options['custom_field_template_use_wpautop'] && $data['type'] == 'textarea' && !empty($value) )
|
2313 |
$value = wpautop($value);
|
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: 1.5.1
|
8 |
Author URI: http://wpgogo.com/
|
9 |
*/
|
10 |
|
2307 |
$save_value[$title][0] = count($_REQUEST[$name]);
|
2308 |
break;
|
2309 |
default :
|
2310 |
+
$value = trim($_REQUEST[$name][$field_key][$data['cftnum']]);
|
2311 |
|
2312 |
if ( $options['custom_field_template_use_wpautop'] && $data['type'] == 'textarea' && !empty($value) )
|
2313 |
$value = wpautop($value);
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wpgogo.com/development/custom-field-template.html
|
|
4 |
Tags: custom, fields, field, template, meta, custom field, custom fields, custom field template
|
5 |
Requires at least: 2.1
|
6 |
Tested up to: 2.9
|
7 |
-
Stable tag: 1.5
|
8 |
|
9 |
This plugin adds the default custom fields on the Write Post/Page.
|
10 |
|
@@ -98,6 +98,9 @@ See the default template and modify it.
|
|
98 |
|
99 |
== Changelog ==
|
100 |
|
|
|
|
|
|
|
101 |
= 1.5 =
|
102 |
* Bugfix: fieldset type.
|
103 |
* Bugfix: ajax save button.
|
4 |
Tags: custom, fields, field, template, meta, custom field, custom fields, custom field template
|
5 |
Requires at least: 2.1
|
6 |
Tested up to: 2.9
|
7 |
+
Stable tag: 1.5.1
|
8 |
|
9 |
This plugin adds the default custom fields on the Write Post/Page.
|
10 |
|
98 |
|
99 |
== Changelog ==
|
100 |
|
101 |
+
= 1.5.1 =
|
102 |
+
* Bugfix: backslashes are not saved.
|
103 |
+
|
104 |
= 1.5 =
|
105 |
* Bugfix: fieldset type.
|
106 |
* Bugfix: ajax save button.
|