Custom Field Template - Version 2.4.8

Version Description

  • Bugfix: custom field template option.
Download this release

Release Info

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

Code changes from version 2.4.7 to 2.4.8

Files changed (2) hide show
  1. custom-field-template.php +3 -3
  2. readme.txt +4 -1
custom-field-template.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://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
  Author URI: https://wpgogo.com/
8
- Version: 2.4.7
9
  Text Domain: custom-field-template
10
  Domain Path: /
11
  */
@@ -1177,8 +1177,8 @@ margin-bottom:0pt;
1177
  <table class="form-table" style="margin-bottom:5px;">
1178
  <tbody>
1179
  <?php
1180
- $count = isset($options['custom_fields']) && is_array($options['custom_fields']) ? count($options['custom_fields'])+1 : 1;
1181
- for ( $i = 0; $i < $count; $i++ ) {
1182
  ?>
1183
  <tr><td>
1184
  <p><strong>TEMPLATE #<?php echo $i; ?></strong>
5
  Description: This plugin adds the default custom fields on the Write Post/Page.
6
  Author: Hiroaki Miyashita
7
  Author URI: https://wpgogo.com/
8
+ Version: 2.4.8
9
  Text Domain: custom-field-template
10
  Domain Path: /
11
  */
1177
  <table class="form-table" style="margin-bottom:5px;">
1178
  <tbody>
1179
  <?php
1180
+ $cf_count = isset($options['custom_fields']) && is_array($options['custom_fields']) ? count($options['custom_fields'])+1 : 1;
1181
+ for ( $i = 0; $i < $cf_count; $i++ ) {
1182
  ?>
1183
  <tr><td>
1184
  <p><strong>TEMPLATE #<?php echo $i; ?></strong>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: custom field, custom fields, custom, fields, field, template, meta, custom field template, custom post type, acf, advanced
5
  Requires at least: 2.1
6
  Tested up to: 5.2.3
7
- Stable tag: 2.4.7
8
  License: GPLv2 or later
9
 
10
  The Custom Field Template plugin extends the functionality of custom fields.
@@ -114,6 +114,9 @@ See the default template and modify it.
114
 
115
  == Changelog ==
116
 
 
 
 
117
  = 2.4.7 =
118
  * `Before the more tag` position for Auto Hook of `the_content()`.
119
 
4
  Tags: custom field, custom fields, custom, fields, field, template, meta, custom field template, custom post type, acf, advanced
5
  Requires at least: 2.1
6
  Tested up to: 5.2.3
7
+ Stable tag: 2.4.8
8
  License: GPLv2 or later
9
 
10
  The Custom Field Template plugin extends the functionality of custom fields.
114
 
115
  == Changelog ==
116
 
117
+ = 2.4.8 =
118
+ * Bugfix: custom field template option.
119
+
120
  = 2.4.7 =
121
  * `Before the more tag` position for Auto Hook of `the_content()`.
122