Query Posts

A WordPress widget that gives you unlimited control over showing posts and pages.

v0.3.2Justin TadlockUpdated Added 800 installs74% rating
63
Score
53
Errors
6
Warnings
+0
Change

Category Scores

Security42
Repo83
Performance100
Maintainability85

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

59 findings

Security

27

1 issue group

Maintainability

15

5 issue groups

I18n

14

2 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 '"' class='{$class}' style='{$style}'>"'.27
Category
Security
Occurrences
27
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"' class='{$class}' style='{$style}'>"'.

ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: $domain9
Category
I18n
Occurrences
9
Severity
error

Sample message

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

ERRORMaintainabilitystrip tags strip tagsstrip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.8
Category
Maintainability
Occurrences
8
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

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

WARNINGMaintainabilityslow db query meta valueDetected usage of meta_value, possible slow query.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Detected usage of meta_value, possible slow query.

WARNINGMaintainabilityslow db query meta keyDetected usage of meta_key, possible slow query.2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGMaintainabilityDiscouraged PHP functionwp_reset_query() is discouraged. Use wp_reset_postdata() instead.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

wp_reset_query() is discouraged. Use wp_reset_postdata() instead.

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 Complianceno licenseMissing "License". Please update your readme with a valid GPLv2 (or later) compatible license.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

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

ERRORRepo Complianceoutdated tested upto headerTested up to: 3.0 < 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: 3.0 < 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.

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

External Connections

Potential connections found in static code analysis.

5 domains

Outbound calls

13

External assets

0

Incoming endpoints

0

Notable Domains

justintadlock.com5 · outbound
themehybrid.com2 · outbound

Platform / Reference Domains

codex.wordpress.org2 · platform/reference
gnu.org2 · platform/reference
w3.org2 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v0.3.2

63

Latest

Findings
59
Errors
53
Warnings
6
Check
2.0.0

Relationship Map

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

31 nodes

Related Plugins

Hide Drafts in Menus

1k+ active installs

100
Pages with category and tag

60k+ active installs

100
Custom Post Exporter

3k+ active installs

99
Default Post Author

1k+ active installs

99
Essential Widgets

10k+ active installs

99