Theme Inspector

A developer's inspector to illuminate the WordPress Template Hierarchy and help with building WordPress Classic themes.

v4.0.1Melissa CabralUpdated Added 400 installs94% rating
73
Score
23
Errors
7
Warnings
+0
Change

Category Scores

Security61
Repo83
Performance100
Maintainability84

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

30 findings

Maintainability

14

7 issue groups

Security

12

1 issue group

Repo Compliance

4

4 issue groups

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

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wpFunction "get_queried_object()" requires WordPress 3.1.0, but your plugin minimum supported version is WordPress 3.0.0.6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

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

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

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

Sample message

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

WARNINGMaintainabilityerror log print rprint_r() found. Debug code should not normally be used in production.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

ERRORMaintainabilityNo Explicit VersionVersion parameter is not explicitly set or has been set to an equivalent of "false" for wp_register_style; This means that the WordPress core version will be used which is not recommended for plugin or theme development.1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

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

Sample message

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

ERRORRepo Complianceoutdated tested upto headerTested up to: 6.1 < 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.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.1 < 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 licenseMissing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.1
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 ignored tagsOne or more tags were ignored. The following tags are not permitted: "plugin", "wordpress"1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. The following tags are not permitted: "plugin", "wordpress"

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

ERRORMaintainabilitytrunk stable tag1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Incorrect Stable Tag. It's recommended not to use "Stable Tag: trunk". Your Stable Tag is meant to be the stable version of your plugin and it needs to be exactly the same with the Version in your main plugin file's header. Any mismatch can prevent users from downloading the correct plugin files from WordPress.org.

External Connections

Potential connections found in static code analysis.

7 domains

Outbound calls

8

External assets

1

Incoming endpoints

0

Notable Domains

codex.bbpress.org1 · outbound
docs.google.com1 · outbound
melissacabral.com1 · outbound

Platform / Reference Domains

developer.wordpress.org2 · platform/reference
wordpress.org2 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v4.0.1

73

Latest

Findings
30
Errors
23
Warnings
7
Check
2.0.0

Relationship Map

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

34 nodes

Related Plugins

Child Theme Check

800 active installs

100
Gantry 5 Framework

7k+ active installs

100
Generate Child Theme

9k+ active installs

100
Simply Show Hooks

2k+ active installs

100
Solace Extra

10k+ active installs

99
Disable All WordPress Updates

10k+ active installs

98