Custom Field Template

The Custom Field Template plugin extends the functionality of custom fields.

v2.7.8Hiroaki MiyashitaUpdated Added 30k+ installs80% rating0% support resolved
30
Score
521
Errors
618
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability27

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,139 findings

Security

861

12 issue groups

Maintainability

267

12 issue groups

I18n

6

1 issue group

WARNINGSecurityRecommendedProcessing form data without nonce verification.205
Category
Security
Occurrences
205
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilitywp function not compatible with requires wpFunction "_admin_search_query()" requires WordPress 2.7.0, but your plugin minimum supported version is WordPress 2.1.0.194
Category
Maintainability
Occurrences
194
Severity
error

Sample message

Function "_admin_search_query()" requires WordPress 2.7.0, but your plugin minimum supported version is WordPress 2.1.0.

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_FILES['cftfile']['tmp_name']149
Category
Security
Occurrences
149
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES['cftfile']['tmp_name']

WARNINGSecurityMissing Unslash$_POST['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar148
Category
Security
Occurrences
148
Severity
warning

Sample message

$_POST['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$body'.141
Category
Security
Occurrences
141
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$body'.

ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.131
Category
Security
Occurrences
131
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_FILES[$this->sanitize_name($title)]['name'][$tmp_parentSN+$gap]. Check that the array index exists before using it.70
Category
Security
Occurrences
70
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_FILES[$this->sanitize_name($title)]['name'][$tmp_parentSN+$gap]. Check that the array index exists before using it.

ERRORMaintainabilityFoundThe use of function eval() is forbidden23
Category
Maintainability
Occurrences
23
Severity
error

Sample message

The use of function eval() is forbidden

ERRORMaintainabilityPLUGINDIRUsage FoundFound usage of constant "PLUGINDIR". Use WP_PLUGIN_DIR instead.11
Category
Maintainability
Occurrences
11
Severity
error

Sample message

Found usage of constant "PLUGINDIR". Use WP_PLUGIN_DIR instead.

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'cft_'.rawurlencode($title)".10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'cft_'.rawurlencode($title)".

Show 15 more
ERRORSecurityNot Prepared9
Category
Security
Occurrences
9
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $key

WARNINGMaintainabilityMissing Version8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.

WARNINGMaintainabilityNot In Footer7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.

ERRORI18nMissing Arg Domain6
Category
I18n
Occurrences
6
Severity
error

Sample message

Missing $domain parameter in function call to __().

WARNINGMaintainabilityDirect Query4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

WARNINGMaintainabilityNon Prefixed Function Found3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "esc_attr".

WARNINGSecurityMissing3
Category
Security
Occurrences
3
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORSecurityUnescaped DBParameter2
Category
Security
Occurrences
2
Severity
error

Sample message

Unescaped parameter $query used in $wpdb->get_results()\n$query assigned unsafely at line 3060.

WARNINGMaintainabilityDiscouraged1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The use of function set_time_limit() is discouraged

WARNINGSecurityInterpolated Not Prepared1
Category
Security
Occurrences
1
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $where at "`.meta_value = %s $where;"

ERRORMaintainabilitydate date1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

WARNINGMaintainabilityNon Prefixed Class Found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "CFT_WP_Posts_List_Table".

WARNINGSecurityUsing FILE 1
Category
Security
Occurrences
1
Severity
warning

Sample message

Using __FILE__ for menu slugs risks exposing filesystem structure.

WARNINGSecurityattribute escape Found1
Category
Security
Occurrences
1
Severity
warning

Sample message

attribute_escape() has been deprecated since WordPress version 2.8.0. Use esc_attr() instead.

Score History

First score snapshot

v2.7.8

30

Latest

Findings
1,139
Errors
521
Warnings
618
Check
2.0.0

Related Plugins

wp_head() cleaner

2k+ active installs

100
MB Elementor Integration

2k+ active installs

98
CubeWP Forms

4k+ active installs

97
MB Rest API

1k+ active installs

97
Custom Shortcodes

6k+ active installs

96