SuperCPT

Insanely easy and attractive custom post types, custom post meta, and custom taxonomies

v0.2.1Matthew BoynesUpdated Added 600 installs100% rating
37
Score
172
Errors
27
Warnings
+0
Change

Category Scores

Security0
Repo86
Performance100
Maintainability70

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

199 findings

Security

90

4 issue groups

I18n

82

4 issue groups

Maintainability

24

11 issue groups

Repo Compliance

3

3 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$icon is not a valid icon. See the icon list to find an adequate replacement."'.81
Category
Security
Occurrences
81
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$icon is not a valid icon. See the icon list to find an adequate replacement."'.

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().29
Category
I18n
Occurrences
29
Severity
error

Sample message

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

ERRORI18nNon Singular String Literal ContextThe $context parameter must be a single text string literal. Found: $this->name26
Category
I18n
Occurrences
26
Severity
error

Sample message

The $context parameter must be a single text string literal. Found: $this->name

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

Sample message

The $text parameter must be a single text string literal. Found: $this->plural

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "connect_types_and_taxes".7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "Super_CPT".4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

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

Sample message

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

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST[$field]. Check that the array index exists before using it.3
Category
Security
Occurrences
3
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST[$field]. Check that the array index exists before using it.

WARNINGSecurityRequest data is not unslashed$_POST[$field] not unslashed before sanitization. Use wp_unslash() or similar3
Category
Security
Occurrences
3
Severity
warning

Sample message

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

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

Sample message

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

Show 12 more
WARNINGMaintainabilityslow db query meta key2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

ERRORMaintainabilitywp function not compatible with requires wp2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Function "wp_editor()" requires WordPress 3.3.0, but your plugin minimum supported version is WordPress 3.0.0.

ERRORMaintainabilityOffloaded Content1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Found call to wp_enqueue_style() with external resource. Offloading styles to your servers or any remote service is disallowed.

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 hook name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "supercpt_loaded".

WARNINGMaintainabilityMissing Version1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityNot In Footer1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_register_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 Translators Comment1
Category
I18n
Occurrences
1
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.

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

Sample message

Tested up to: 3.6 < 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.

ERRORRepo Complianceplugin header no license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.

WARNINGRepo Compliancereadme parser warnings too many tags1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

WARNINGMaintainabilityupgrade notice limit1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The upgrade notice for "0.2" exceeds the limit of 300 characters.

External Connections

Potential connections found in static code analysis.

5 domains

Outbound calls

8

External assets

1

Incoming endpoints

0

Notable Domains

creativecommons.org1 · outbound
google.com1 · outbound

Platform / Reference Domains

codex.wordpress.org5 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v0.2.1

37

Latest

Findings
199
Errors
172
Warnings
27
Check
2.0.0

Relationship Map

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

31 nodes

Related Plugins