WPGatsby

WPGatsby is a free open-source WordPress plugin that optimizes your WordPress site to work as a data source for Gatsby. This plugin must be used in c …

v2.3.3lightstrikeUpdated Added 3k+ installs100% rating
31
Score
125
Errors
55
Warnings
+0
Change

Category Scores

Security0
Repo58
Performance100
Maintainability60

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

180 findings

I18n

67

3 issue groups

Maintainability

54

13 issue groups

Security

47

8 issue groups

Supply Chain

8

1 issue group

ERRORI18nText Domain MismatchMismatched text domain. Expected 'wp-gatsby' but got 'WPGatsby'.60
Category
I18n
Occurrences
60
Severity
error

Sample message

Mismatched text domain. Expected 'wp-gatsby' but got 'WPGatsby'.

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$dropdown_args'.22
Category
Security
Occurrences
22
Severity
error

Sample message

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

WARNINGMaintainabilityerror log error logerror_log() found. Debug code should not normally be used in production.8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

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

ERRORSupply Chainhidden filesHidden files are not permitted.8
Category
Supply Chain
Occurrences
8
Severity
error

Sample message

Hidden files are not permitted.

ERRORSecurityException Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$message'.7
Category
Security
Occurrences
7
Severity
error

Sample message

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

WARNINGMaintainabilityNon Prefixed Class FoundClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "AcceptanceTester".6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

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

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

Sample message

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

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wsa_form_bottom_' . $form['id']".5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wsa_form_bottom_' . $form['id']".

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

Sample message

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

ERRORMaintainabilityapplication detectedApplication files are not permitted.5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

Application files are not permitted.

Show 15 more
ERRORMaintainabilitymissing direct file access protection5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

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

WARNINGMaintainabilityDirect Query4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

ERRORSecurityNot Prepared4
Category
Security
Occurrences
4
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $query

WARNINGSecurityRecommended4
Category
Security
Occurrences
4
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORSecurityUnescaped DBParameter3
Category
Security
Occurrences
3
Severity
error

Sample message

Unescaped parameter $post_types used in $wpdb->get_col()\n$post_types assigned unsafely at line 162.

WARNINGMaintainabilityslow db query tax query3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

ERRORMaintainabilitydate date3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

WARNINGSecurityInput Not Sanitized3
Category
Security
Occurrences
3
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['preview_id']

WARNINGSecurityMissing Unslash3
Category
Security
Occurrences
3
Severity
warning

Sample message

$_GET['preview_id'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilitytrademarked term3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "WP Gatsby" - contains the restricted term "wp" which cannot be used at all in your plugin name.

ERRORI18nMissing Translators Comment2
Category
I18n
Occurrences
2
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.

WARNINGSecurityInterpolated Not Prepared1
Category
Security
Occurrences
1
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $post_types at "SELECT ID FROM $wpdb->posts WHERE post_author = %d AND post_status = 'publish' AND post_type IN ('$post_types')"

WARNINGMaintainabilityNon Prefixed Constant Found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "GRAPHQL_DEBUG".

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "WPGatsby" is different from the name declared in plugin header "WP Gatsby".

Score History

First score snapshot

v2.3.3

31

Latest

Findings
180
Errors
125
Warnings
55
Check
2.0.0

Related Plugins

Code Embed

10k+ active installs

100
Speculative Loading

70k+ active installs

99
Web Worker Offloading

10k+ active installs

99
jQuery Updater

20k+ active installs

97
FancyBox

4k+ active installs

96