Custom Field Template - Version 0.5.3

Version Description

Download this release

Release Info

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

Code changes from version 0.5.2 to 0.5.3

Files changed (2) hide show
  1. custom-field-template.php +4 -5
  2. readme.txt +2 -2
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.5.2
8
  Author URI: http://wordpressgogo.com/
9
  */
10
 
@@ -733,9 +733,8 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
733
  $out .= '</select>';
734
  }
735
 
736
- $out .= '<div id="cft">';
737
  $out .= '<input type="hidden" name="custom-field-template-verify-key" id="custom-field-template-verify-key" value="' . wp_create_nonce('custom-field-template') . '" />';
738
-
739
  $out .= $body;
740
  $out .= '</div>';
741
 
@@ -749,13 +748,13 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
749
  function edit_meta_value( $id ) {
750
  global $wpdb;
751
  $options = $this->get_custom_field_template_data();
752
-
753
  if( !isset( $id ) )
754
  $id = $_REQUEST[ 'post_ID' ];
755
 
756
  if( !current_user_can('edit_post', $id) )
757
  return $id;
758
-
759
  if( !wp_verify_nonce($_REQUEST['custom-field-template-verify-key'], 'custom-field-template') )
760
  return $id;
761
 
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.5.3
8
  Author URI: http://wordpressgogo.com/
9
  */
10
 
733
  $out .= '</select>';
734
  }
735
 
 
736
  $out .= '<input type="hidden" name="custom-field-template-verify-key" id="custom-field-template-verify-key" value="' . wp_create_nonce('custom-field-template') . '" />';
737
+ $out .= '<div id="cft">';
738
  $out .= $body;
739
  $out .= '</div>';
740
 
748
  function edit_meta_value( $id ) {
749
  global $wpdb;
750
  $options = $this->get_custom_field_template_data();
751
+
752
  if( !isset( $id ) )
753
  $id = $_REQUEST[ 'post_ID' ];
754
 
755
  if( !current_user_can('edit_post', $id) )
756
  return $id;
757
+
758
  if( !wp_verify_nonce($_REQUEST['custom-field-template-verify-key'], 'custom-field-template') )
759
  return $id;
760
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Hiroaki Miyashita
3
  Donate link: http://wordpressgogo.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.7 beta 1
7
- Stable tag: 0.5.2
8
 
9
  This plugin adds the default custom fields on the Write Post/Page.
10
 
3
  Donate link: http://wordpressgogo.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.7 beta 2
7
+ Stable tag: 0.5.3
8
 
9
  This plugin adds the default custom fields on the Write Post/Page.
10