Version Description
Download this release
Release Info
Developer | Hiroaki Miyashita |
Plugin | Custom Field Template |
Version | 0.4.3 |
Comparing to | |
See all releases |
Code changes from version 0.4.2 to 0.4.3
- custom-field-template.php +4 -4
- readme.txt +1 -1
custom-field-template.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Custom Field Template
|
|
4 |
Plugin URI: http://wordpressgogo.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: 0.4.
|
8 |
Author URI: http://wordpressgogo.com/
|
9 |
*/
|
10 |
|
@@ -272,7 +272,7 @@ mediaButton = true';
|
|
272 |
'<th scope="row" valign="top"' . $hide . '>' . $title . ' </th>' .
|
273 |
'<td>';
|
274 |
|
275 |
-
$out .= '<label for="' . $id . '" class="selectit"><input name="' . $name . '[' . $sid . ']" value="' . $value . '" ' . $checked . ' type="checkbox" /> ' . $value . '</label><br>';
|
276 |
|
277 |
$out .= '</td>';
|
278 |
|
@@ -304,7 +304,7 @@ mediaButton = true';
|
|
304 |
$checked = ( trim( $val ) == trim( $selected ) ) ? 'checked="checked"' : '';
|
305 |
|
306 |
$out .=
|
307 |
-
'<label for="' . $id . '" class="selectit"><input id="' . $id . '" name="' . $name . '[' . $sid . ']" value="' . $val . '" ' . $checked . ' type="radio" /> ' . $val . '</label><br>';
|
308 |
}
|
309 |
$out .= '</td>';
|
310 |
|
@@ -338,7 +338,7 @@ mediaButton = true';
|
|
338 |
$checked = ( trim( $val ) == trim( $selected ) ) ? 'selected="selected"' : '';
|
339 |
|
340 |
$out .=
|
341 |
-
'<option value="' . $val . '" ' . $checked . ' > ' . $val. '</option>';
|
342 |
}
|
343 |
$out .= '</select></td>';
|
344 |
|
4 |
Plugin URI: http://wordpressgogo.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: 0.4.3
|
8 |
Author URI: http://wordpressgogo.com/
|
9 |
*/
|
10 |
|
272 |
'<th scope="row" valign="top"' . $hide . '>' . $title . ' </th>' .
|
273 |
'<td>';
|
274 |
|
275 |
+
$out .= '<label for="' . $id . '" class="selectit"><input name="' . $name . '[' . $sid . ']" value="' . attribute_escape($value) . '" ' . $checked . ' type="checkbox" /> ' . stripcslashes($value) . '</label><br>';
|
276 |
|
277 |
$out .= '</td>';
|
278 |
|
304 |
$checked = ( trim( $val ) == trim( $selected ) ) ? 'checked="checked"' : '';
|
305 |
|
306 |
$out .=
|
307 |
+
'<label for="' . $id . '" class="selectit"><input id="' . $id . '" name="' . $name . '[' . $sid . ']" value="' . attribute_escape($val) . '" ' . $checked . ' type="radio" /> ' . stripcslashes($val) . '</label><br>';
|
308 |
}
|
309 |
$out .= '</td>';
|
310 |
|
338 |
$checked = ( trim( $val ) == trim( $selected ) ) ? 'selected="selected"' : '';
|
339 |
|
340 |
$out .=
|
341 |
+
'<option value="' . attribute_escape($val) . '" ' . $checked . ' > ' . $val. '</option>';
|
342 |
}
|
343 |
$out .= '</select></td>';
|
344 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wordpressgogo.com/development/custom-field-template.html
|
|
4 |
Tags: custom, fields, field, template, meta
|
5 |
Requires at least: 2.1
|
6 |
Tested up to: 2.6.2
|
7 |
-
Stable tag: 0.4.
|
8 |
|
9 |
This plugin adds the default custom fields on the Write Post/Page.
|
10 |
|
4 |
Tags: custom, fields, field, template, meta
|
5 |
Requires at least: 2.1
|
6 |
Tested up to: 2.6.2
|
7 |
+
Stable tag: 0.4.3
|
8 |
|
9 |
This plugin adds the default custom fields on the Write Post/Page.
|
10 |
|