Simple CPT

Simple CPT provides an easy to use interface for registering and managing custom post types and custom taxonomies.

v1.1.0George PattichisUpdated Added 4k+ installs92% rating
41
Score
280
Errors
60
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability83

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

340 findings

Security

279

5 issue groups

I18n

40

6 issue groups

Maintainability

20

4 issue groups

Repo Compliance

1

1 issue group

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

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$checked'.51
Category
Security
Occurrences
51
Severity
error

Sample message

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

WARNINGSecurityRequest data is not unslashed$_POST['simple_cpt_builtin_tax'] not unslashed before sanitization. Use wp_unslash() or similar35
Category
Security
Occurrences
35
Severity
warning

Sample message

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

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $simple_cpt_custom_rewrite_slug26
Category
I18n
Occurrences
26
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $simple_cpt_custom_rewrite_slug

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$args".12
Category
Maintainability
Occurrences
12
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$args".

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['simple_cpt_builtin_tax']6
Category
Security
Occurrences
6
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['simple_cpt_builtin_tax']

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.6
Category
I18n
Occurrences
6
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.

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

Sample message

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

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_simple_cpt".3
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: "activate_simple_cpt".

ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: 'simple-cpt' . ' Name'3
Category
I18n
Occurrences
3
Severity
error

Sample message

The $domain parameter must be a single text string literal. Found: 'simple-cpt' . ' Name'

Show 6 more
ERRORI18nText Domain Mismatch3
Category
I18n
Occurrences
3
Severity
error

Sample message

Mismatched text domain. Expected 'simple-cpt' but got 'link-juice-keeper'.

WARNINGSecurityNonce verification recommended2
Category
Security
Occurrences
2
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGI18nDiscouraged text-domain loading1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

WARNINGMaintainabilityerror log print r1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

print_r() found. Debug code should not normally be used in production.

ERRORI18nMissing Arg Domain1
Category
I18n
Occurrences
1
Severity
error

Sample message

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

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.8 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

External Connections

Not analyzed yet.

Score History

First score snapshot

v1.1.0

41

Latest

Findings
340
Errors
280
Warnings
60
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

28 nodes

Related Plugins

Custom Post Type Rewrite

1k+ active installs

99
Custom Post Type Widgets

10k+ active installs

99
Autoremove Attachments

3k+ active installs

98
Custom Front Page

900 active installs

98
Custom Post Type Editor

2k+ active installs

98
Portfolio Toolkit

600 active installs

98