Custom Field Template - Version 1.6.7

Version Description

  • Bugfix: Code error. Do not use 1.6.6.
Download this release

Release Info

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

Code changes from version 1.6.6 to 1.6.7

Files changed (2) hide show
  1. custom-field-template.php +2 -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.6.6
8
  Author URI: http://wpgogo.com/
9
  */
10
 
@@ -3281,7 +3281,7 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";*/
3281
  endif;
3282
  break;
3283
  default :
3284
- $where .= " ROW(ID,1) IN (SELECT post_id,count(post_id) FROM " . $wpdb->postmeta . " WHERE (" . $wpdb->postmeta . ".meta_key = %s AND `" . $wpdb->postmeta . "`.meta_value LIKE %s) GROUP BY post_id) ", $key, '%'.trim($val3).'%');
3285
  break;
3286
  endswitch;
3287
  $ch++;
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.6.7
8
  Author URI: http://wpgogo.com/
9
  */
10
 
3281
  endif;
3282
  break;
3283
  default :
3284
+ $where .= $wpdb->prepare(" ROW(ID,1) IN (SELECT post_id,count(post_id) FROM " . $wpdb->postmeta . " WHERE (" . $wpdb->postmeta . ".meta_key = %s AND `" . $wpdb->postmeta . "`.meta_value LIKE %s) GROUP BY post_id) ", $key, '%'.trim($val3).'%');
3285
  break;
3286
  endswitch;
3287
  $ch++;
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: 3.0
7
- Stable tag: 1.6.6
8
 
9
  This plugin adds the default custom fields on the Write Post/Page.
10
 
@@ -102,6 +102,9 @@ See the default template and modify it.
102
 
103
  == Changelog ==
104
 
 
 
 
105
  = 1.6.6 =
106
  * Quick Edit for the custom post type.
107
  * Bugfix: prepared statement of cft search sqls.
4
  Tags: custom, fields, field, template, meta, custom field, custom fields, custom field template
5
  Requires at least: 2.1
6
  Tested up to: 3.0
7
+ Stable tag: 1.6.7
8
 
9
  This plugin adds the default custom fields on the Write Post/Page.
10
 
102
 
103
  == Changelog ==
104
 
105
+ = 1.6.7 =
106
+ * Bugfix: Code error. Do not use 1.6.6.
107
+
108
  = 1.6.6 =
109
  * Quick Edit for the custom post type.
110
  * Bugfix: prepared statement of cft search sqls.