Custom Post Types and Custom Fields creator – WCK

A must have tool for creating custom fields, custom post types and taxonomies, fast and without any programming knowledge.

v2.3.8madalin.ungureanuUpdated Added 10k+ installs94% rating
29
Score
1,300
Errors
143
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance100
Maintainability27

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,443 findings

I18n

1,249

5 issue groups

Security

105

6 issue groups

Maintainability

86

14 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'wck-custom-fields-and-custom-post-types-creator' but got "wck".1,168
Category
I18n
Occurrences
1,168
Severity
error

Sample message

Mismatched text domain. Expected 'wck-custom-fields-and-custom-post-types-creator' but got "wck".

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

Sample message

Processing form data without nonce verification.

ERRORI18nMissing Translators CommentA function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.37
Category
I18n
Occurrences
37
Severity
error

Sample message

A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.

ERRORI18nInterpolated Variable TextThe $text parameter must not contain interpolated variables or expressions. Found: $key33
Category
I18n
Occurrences
33
Severity
error

Sample message

The $text parameter must not contain interpolated variables or expressions. Found: $key

ERRORMaintainabilitymissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;30
Category
Maintainability
Occurrences
30
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

WARNINGSecurityMissingProcessing form data without nonce verification.24
Category
Security
Occurrences
24
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityMissing Unslash$_GET[$this->prefix.'_dismiss_admin_notification'] not unslashed before sanitization. Use wp_unslash() or similar24
Category
Security
Occurrences
24
Severity
warning

Sample message

$_GET[$this->prefix.'_dismiss_admin_notification'] not unslashed before sanitization. Use wp_unslash() or similar

ERRORI18nUnordered Placeholders TextMultiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d", but got "%d, %d" in '%d posts of %d processed'.10
Category
I18n
Occurrences
10
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d", but got "%d, %d" in '%d posts of %d processed'.

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

Use of a direct database call is discouraged.

ERRORMaintainabilitywp function not compatible with requires wpFunction "is_customize_preview()" requires WordPress 4.0.0, but your plugin minimum supported version is WordPress 3.1.0.9
Category
Maintainability
Occurrences
9
Severity
error

Sample message

Function "is_customize_preview()" requires WordPress 4.0.0, but your plugin minimum supported version is WordPress 3.1.0.

Show 15 more
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.

WARNINGMaintainabilityNo Caching7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

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

WARNINGSecurityInterpolated Not Prepared5
Category
Security
Occurrences
5
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $meta_names at "SELECT meta_value,meta_key FROM $wpdb->postmeta\tWHERE post_id = '$post->ID' AND meta_key IN ('$meta_names')"

WARNINGMaintainabilityslow db query meta key5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

ERRORMaintainabilityNo Explicit Version4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

Version parameter is not explicitly set or has been set to an equivalent of "false" for wp_enqueue_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.

WARNINGMaintainabilityNot In Footer4
Category
Maintainability
Occurrences
4
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.

ERRORMaintainabilitybadly named files3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

File and folder names must not contain spaces or special characters.

WARNINGMaintainabilitytrademarked term3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "Custom Post Types and Custom Fields creator - WCK" - contains the restricted term "wc" which cannot be used at all in your plugin name.

ERRORSecurityUnescaped DBParameter2
Category
Security
Occurrences
2
Severity
error

Sample message

Unescaped parameter $post->ID used in $wpdb->get_results()\n$post->ID used without escaping.

WARNINGSecuritywp redirect wp redirect2
Category
Security
Occurrences
2
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

WARNINGMaintainabilityDiscouraged1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The use of function set_time_limit() is discouraged

ERRORMaintainabilityrand rand1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

rand() is discouraged. Use the far less predictable wp_rand() instead.

ERRORI18nNo Empty Strings1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $text text string should have translatable content. Found: ""

ERRORMaintainabilitylibrary core files1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Library files that are already in the WordPress core are not permitted.

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Custom Post Types and Custom Fields creator - WCK" is different from the name declared in plugin header "WCK - Custom Fields and Custom Post Types Creator".

Score History

First score snapshot

v2.3.8

29

Latest

Findings
1,443
Errors
1,300
Warnings
143
Check
2.0.0

Related Plugins

Essential Content Types

20k+ active installs

100
Custom Post Type Widgets

10k+ active installs

99
Post Admin Word Count

3k+ active installs

99
Autoremove Attachments

3k+ active installs

98
Custom Post Type Editor

2k+ active installs

98