Version Description
- Security fix.
Download this release
Release Info
Developer | Hiroaki Miyashita |
Plugin | Custom Field Template |
Version | 2.5.2 |
Comparing to | |
See all releases |
Code changes from version 2.5.1 to 2.5.2
- custom-field-template.php +5 -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.5.
|
9 |
Text Domain: custom-field-template
|
10 |
Domain Path: /
|
11 |
*/
|
@@ -3058,7 +3058,10 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";*/
|
|
3058 |
if( !current_user_can('edit_post', $id) )
|
3059 |
return $id;
|
3060 |
|
3061 |
-
if
|
|
|
|
|
|
|
3062 |
return $id;
|
3063 |
|
3064 |
if ( !empty($_POST['wp-preview']) && $id != $post->ID ) :
|
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.5.2
|
9 |
Text Domain: custom-field-template
|
10 |
Domain Path: /
|
11 |
*/
|
3058 |
if( !current_user_can('edit_post', $id) )
|
3059 |
return $id;
|
3060 |
|
3061 |
+
if ( empty($_REQUEST['custom-field-template-verify-key']) )
|
3062 |
+
return $id;
|
3063 |
+
|
3064 |
+
if( !wp_verify_nonce($_REQUEST['custom-field-template-verify-key'], 'custom-field-template') )
|
3065 |
return $id;
|
3066 |
|
3067 |
if ( !empty($_POST['wp-preview']) && $id != $post->ID ) :
|
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.5
|
7 |
-
Stable tag: 2.5.
|
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.5.1 =
|
118 |
* WordPress 5.5.
|
119 |
* Code cleaning.
|
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.5
|
7 |
+
Stable tag: 2.5.2
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
The Custom Field Template plugin extends the functionality of custom fields.
|
114 |
|
115 |
== Changelog ==
|
116 |
|
117 |
+
= 2.5.2 =
|
118 |
+
* Security fix.
|
119 |
+
|
120 |
= 2.5.1 =
|
121 |
* WordPress 5.5.
|
122 |
* Code cleaning.
|