Version Description
- Bugfix: Auto Hook of
the_content()
.
Download this release
Release Info
Developer | Hiroaki Miyashita |
Plugin | Custom Field Template |
Version | 2.4.9 |
Comparing to | |
See all releases |
Code changes from version 2.4.8 to 2.4.9
- custom-field-template.php +7 -5
- readme.txt +5 -2
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.
|
9 |
Text Domain: custom-field-template
|
10 |
Domain Path: /
|
11 |
*/
|
@@ -57,8 +57,8 @@ class custom_field_template {
|
|
57 |
add_filter( 'plugin_action_links', array(&$this, 'wpaq_filter_plugin_actions'), 100, 2 );
|
58 |
|
59 |
add_filter( 'get_the_excerpt', array(&$this, 'custom_field_template_get_the_excerpt'), 1 );
|
60 |
-
add_filter( 'the_content', array(&$this, 'custom_field_template_the_content')
|
61 |
-
add_filter( 'the_content_rss', array(&$this, 'custom_field_template_the_content')
|
62 |
|
63 |
add_filter( 'attachment_fields_to_edit', array(&$this, 'custom_field_template_attachment_fields_to_edit'), 10, 2 );
|
64 |
add_filter( '_wp_post_revision_fields', array(&$this, 'custom_field_template_wp_post_revision_fields'), 1 );
|
@@ -868,7 +868,7 @@ type = file';
|
|
868 |
$options = $this->get_custom_field_template_data();
|
869 |
add_options_page(__('Custom Field Template', 'custom-field-template'), __('Custom Field Template', 'custom-field-template'), 'manage_options', basename(__FILE__), array(&$this, 'custom_field_template_admin'));
|
870 |
if ( empty($options['custom_field_template_disable_admin_search']) ) :
|
871 |
-
add_action('load-edit.php', array(&$this, 'custom_field_template_add_help_tab') );
|
872 |
endif;
|
873 |
}
|
874 |
|
@@ -993,9 +993,11 @@ type = file';
|
|
993 |
endif;
|
994 |
endif;
|
995 |
endfor;
|
|
|
|
|
|
|
996 |
endif;
|
997 |
|
998 |
-
return !empty($strip_shortcode)? $content : do_shortcode($content);
|
999 |
}
|
1000 |
|
1001 |
function custom_field_template_admin() {
|
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.9
|
9 |
Text Domain: custom-field-template
|
10 |
Domain Path: /
|
11 |
*/
|
57 |
add_filter( 'plugin_action_links', array(&$this, 'wpaq_filter_plugin_actions'), 100, 2 );
|
58 |
|
59 |
add_filter( 'get_the_excerpt', array(&$this, 'custom_field_template_get_the_excerpt'), 1 );
|
60 |
+
add_filter( 'the_content', array(&$this, 'custom_field_template_the_content') );
|
61 |
+
add_filter( 'the_content_rss', array(&$this, 'custom_field_template_the_content') );
|
62 |
|
63 |
add_filter( 'attachment_fields_to_edit', array(&$this, 'custom_field_template_attachment_fields_to_edit'), 10, 2 );
|
64 |
add_filter( '_wp_post_revision_fields', array(&$this, 'custom_field_template_wp_post_revision_fields'), 1 );
|
868 |
$options = $this->get_custom_field_template_data();
|
869 |
add_options_page(__('Custom Field Template', 'custom-field-template'), __('Custom Field Template', 'custom-field-template'), 'manage_options', basename(__FILE__), array(&$this, 'custom_field_template_admin'));
|
870 |
if ( empty($options['custom_field_template_disable_admin_search']) ) :
|
871 |
+
//add_action('load-edit.php', array(&$this, 'custom_field_template_add_help_tab') );
|
872 |
endif;
|
873 |
}
|
874 |
|
993 |
endif;
|
994 |
endif;
|
995 |
endfor;
|
996 |
+
return !empty($strip_shortcode)? $content : do_shortcode($content);
|
997 |
+
else :
|
998 |
+
return $content;
|
999 |
endif;
|
1000 |
|
|
|
1001 |
}
|
1002 |
|
1003 |
function custom_field_template_admin() {
|
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.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
The Custom Field Template plugin extends the functionality of custom fields.
|
@@ -74,7 +74,7 @@ Localization
|
|
74 |
* Hungarian (hu_HU) - [Balazs Kovacs](http://www.netpok.hu)
|
75 |
* Indonesian (id_ID) - [Masino Sinaga](http://www.openscriptsolution.com/)
|
76 |
* Italian (it_IT) - [Gianni Diurno](http://gidibao.net/)
|
77 |
-
* Japanese (ja) - [Hiroaki Miyashita](
|
78 |
* Dutch (nl_NL) - [Rene](http://wordpresswebshop.com/)
|
79 |
* Polish (pl_PL) - [Difreo](http://www.difreo.pl/)
|
80 |
* Brazilian Portuguese (pt_BR) - [Caciano Gabriel](http://www.gn10.com.br/)
|
@@ -114,6 +114,9 @@ See the default template and modify it.
|
|
114 |
|
115 |
== Changelog ==
|
116 |
|
|
|
|
|
|
|
117 |
= 2.4.8 =
|
118 |
* Bugfix: custom field template option.
|
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.9
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
The Custom Field Template plugin extends the functionality of custom fields.
|
74 |
* Hungarian (hu_HU) - [Balazs Kovacs](http://www.netpok.hu)
|
75 |
* Indonesian (id_ID) - [Masino Sinaga](http://www.openscriptsolution.com/)
|
76 |
* Italian (it_IT) - [Gianni Diurno](http://gidibao.net/)
|
77 |
+
* Japanese (ja) - [Hiroaki Miyashita](https://wpgogo.com/)
|
78 |
* Dutch (nl_NL) - [Rene](http://wordpresswebshop.com/)
|
79 |
* Polish (pl_PL) - [Difreo](http://www.difreo.pl/)
|
80 |
* Brazilian Portuguese (pt_BR) - [Caciano Gabriel](http://www.gn10.com.br/)
|
114 |
|
115 |
== Changelog ==
|
116 |
|
117 |
+
= 2.4.9 =
|
118 |
+
* Bugfix: Auto Hook of `the_content()`.
|
119 |
+
|
120 |
= 2.4.8 =
|
121 |
* Bugfix: custom field template option.
|
122 |
|