StaticPress

Transform your WordPress into static websites and blogs.

v0.4.5wokamotoUpdated Added 500 installs82% rating
36
Score
88
Errors
79
Warnings
+0
Change

Category Scores

Security0
Repo83
Performance100
Maintainability66

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

167 findings

Security

81

10 issue groups

Maintainability

56

9 issue groups

I18n

26

3 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 '"$err_message"'.26
Category
Security
Occurrences
26
Severity
error

Sample message

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

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable {$key} at "{$key} = %s"21
Category
Security
Occurrences
21
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable {$key} at "{$key} = %s"

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

Sample message

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

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.16
Category
Maintainability
Occurrences
16
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().15
Category
Maintainability
Occurrences
15
Severity
warning

Sample message

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

WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $this->post_types used in $wpdb->get_results()14
Category
Security
Occurrences
14
Severity
warning

Sample message

Unescaped parameter $this->post_types used in $wpdb->get_results()

ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.13
Category
Maintainability
Occurrences
13
Severity
error

Sample message

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

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $sql used in $wpdb->get_results()\n$sql assigned unsafely at line 152.7
Category
Security
Occurrences
7
Severity
error

Sample message

Unescaped parameter $sql used in $wpdb->get_results()\n$sql assigned unsafely at line 152.

ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $sql7
Category
Security
Occurrences
7
Severity
error

Sample message

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

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

Sample message

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

Show 15 more
WARNINGMaintainabilitySchema Change4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Attempting a database schema change is discouraged.

ERRORMaintainabilityMissing direct file access protection3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

WARNINGSecurityMissing nonce verification2
Category
Security
Occurrences
2
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityDeprecated function: screen_icon2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

screen_icon() has been deprecated since WordPress version 3.8.0.

WARNINGSecurityNonce verification recommended1
Category
Security
Occurrences
1
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitized1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_SERVER['HTTP_HOST']

WARNINGSecurityInput is not validated1
Category
Security
Occurrences
1
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed1
Category
Security
Occurrences
1
Severity
warning

Sample message

$_SERVER['HTTP_HOST'] not unslashed before sanitization. Use wp_unslash() or similar

ERRORMaintainabilityfile system operations mkdir1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: mkdir().

ERRORMaintainabilityDeprecated parameter: is_email parameter 21
Category
Maintainability
Occurrences
1
Severity
error

Sample message

The parameter "$deprecated" at position #2 of is_email() has been deprecated since WordPress version 3.0.0. Instead do not pass the parameter.

ERRORMaintainabilityNo Explicit Version1
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_enqueue_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.

ERRORI18nMissing Arg Domain1
Category
I18n
Occurrences
1
Severity
error

Sample message

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

ERRORRepo Complianceno license1
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 header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

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

External Connections

Potential connections found in static code analysis.

3 domains

Outbound calls

3

External assets

0

Incoming endpoints

3

Notable Domains

digitalcube.jp1 · outbound
en.staticpress.net1 · outbound

Platform / Reference Domains

gnu.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints3
wp_ajax_static_press_fetchauthenticated

wp_ajax

wp_ajax_static_press_finalyzeauthenticated

wp_ajax

wp_ajax_static_press_initauthenticated

wp_ajax

Score History

First score snapshot

v0.4.5

36

Latest

Findings
167
Errors
88
Warnings
79
Check
2.0.0

Relationship Map

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

26 nodes

Related Plugins