Custom Field Template - Version 1.2.4

Version Description

Download this release

Release Info

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

Code changes from version 1.2.3 to 1.2.4

Files changed (2) hide show
  1. custom-field-template.php +6 -6
  2. 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: 1.2.3
8
  Author URI: http://wordpressgogo.com/
9
  */
10
 
@@ -749,7 +749,7 @@ mediaButton = true';
749
  </div>
750
 
751
  <div class="postbox closed">
752
- <div class="handlediv" title="<?php _e('Click to toggle', 'meta-ext'); ?>"><br /></div>
753
  <h3><?php _e('[cft] and [cftsearch] Shortcode Format', 'custom-field-template'); ?></h3>
754
  <div class="inside">
755
  <form method="post">
@@ -778,7 +778,7 @@ mediaButton = true';
778
  </div>
779
 
780
  <div class="postbox closed">
781
- <div class="handlediv" title="<?php _e('Click to toggle', 'meta-ext'); ?>"><br /></div>
782
  <h3><?php _e('PHP CODE (Experimental Option)', 'custom-field-template'); ?></h3>
783
  <div class="inside">
784
  <form method="post" onsubmit="return confirm('<?php _e('Are you sure to save PHP codes? Please do it at your own risk.', 'custom-field-template'); ?>');">
@@ -809,7 +809,7 @@ ex. `radio` and `select`:</dt><dd>$values = array('dog', 'cat', 'monkey'); $defa
809
  </div>
810
 
811
  <div class="postbox closed">
812
- <div class="handlediv" title="<?php _e('Click to toggle', 'meta-ext'); ?>"><br /></div>
813
  <h3><?php _e('Auto Hook of `the_content()` (Experimental Option)', 'custom-field-template'); ?></h3>
814
  <div class="inside">
815
  <form method="post">
@@ -1663,8 +1663,8 @@ EOF;
1663
  for($i = 0; $i<count($data); $i++) :
1664
  if( $data[$i][ 'type' ] == 'textarea' && $data[$i][ 'tinyMCE' ] ) :
1665
  if ( substr($wp_version, 0, 3) >= '2.7' ) :
1666
- $out .= ' if ( getUserSetting( "editor" ) == "html" ) {
1667
- jQuery("#edButtonPreview").trigger("click"); }' . "\n";
1668
  else :
1669
  $out .= ' if(wpTinyMCEConfig) if(wpTinyMCEConfig.defaultEditor == "html") { jQuery("#edButtonPreview").trigger("click"); }' . "\n";
1670
  endif;
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: 1.2.4
8
  Author URI: http://wordpressgogo.com/
9
  */
10
 
749
  </div>
750
 
751
  <div class="postbox closed">
752
+ <div class="handlediv" title="<?php _e('Click to toggle', 'custom-field-template'); ?>"><br /></div>
753
  <h3><?php _e('[cft] and [cftsearch] Shortcode Format', 'custom-field-template'); ?></h3>
754
  <div class="inside">
755
  <form method="post">
778
  </div>
779
 
780
  <div class="postbox closed">
781
+ <div class="handlediv" title="<?php _e('Click to toggle', 'custom-field-template'); ?>"><br /></div>
782
  <h3><?php _e('PHP CODE (Experimental Option)', 'custom-field-template'); ?></h3>
783
  <div class="inside">
784
  <form method="post" onsubmit="return confirm('<?php _e('Are you sure to save PHP codes? Please do it at your own risk.', 'custom-field-template'); ?>');">
809
  </div>
810
 
811
  <div class="postbox closed">
812
+ <div class="handlediv" title="<?php _e('Click to toggle', 'custom-field-template'); ?>"><br /></div>
813
  <h3><?php _e('Auto Hook of `the_content()` (Experimental Option)', 'custom-field-template'); ?></h3>
814
  <div class="inside">
815
  <form method="post">
1663
  for($i = 0; $i<count($data); $i++) :
1664
  if( $data[$i][ 'type' ] == 'textarea' && $data[$i][ 'tinyMCE' ] ) :
1665
  if ( substr($wp_version, 0, 3) >= '2.7' ) :
1666
+ /*$out .= ' if ( getUserSetting( "editor" ) == "html" ) {
1667
+ jQuery("#edButtonPreview").trigger("click"); }' . "\n";*/
1668
  else :
1669
  $out .= ' if(wpTinyMCEConfig) if(wpTinyMCEConfig.defaultEditor == "html") { jQuery("#edButtonPreview").trigger("click"); }' . "\n";
1670
  endif;
readme.txt CHANGED
@@ -4,7 +4,7 @@ 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.1
7
- Stable tag: 1.2.3
8
 
9
  This plugin adds the default custom fields on the Write Post/Page.
10
 
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.1
7
+ Stable tag: 1.2.4
8
 
9
  This plugin adds the default custom fields on the Write Post/Page.
10