Maintenance Mode

This plugin is intended primarily for developers that need to allow clients to preview sites before being available to the general public or to tempor …

v3.1.3helderkUpdated Added 7k+ installs92% rating0% support resolved
39
Score
86
Errors
109
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance100
Maintainability77

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

195 findings

Security

123

10 issue groups

Maintainability

38

7 issue groups

I18n

32

6 issue groups

Repo Compliance

2

2 issue groups

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET['hkdev_temp_access_key'] not unslashed before sanitization. Use wp_unslash() or similar20
Category
Security
Occurrences
20
Severity
warning

Sample message

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

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

Sample message

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

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().16
Category
Maintainability
Occurrences
16
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['hkdev_temp_access_key']13
Category
Security
Occurrences
13
Severity
warning

Sample message

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

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable $tbl at "CREATE TABLE $tbl (id int auto_increment primary key, `name` varchar(100), access_key varchar(20), email varchar(100), created_at datetime NOT NULL DEFAULT %s, active int(1) NOT NULL DEFAULT 1)"11
Category
Security
Occurrences
11
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $tbl at "CREATE TABLE $tbl (id int auto_increment primary key, `name` varchar(100), access_key varchar(20), email varchar(100), created_at datetime NOT NULL DEFAULT %s, active int(1) NOT NULL DEFAULT 1)"

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

Sample message

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

Show 15 more
ERRORI18nNon Singular String Literal Text10
Category
I18n
Occurrences
10
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $code->access_key

ERRORI18nMissing Translators Comment9
Category
I18n
Occurrences
9
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.

WARNINGSecurityMissing nonce verification4
Category
Security
Occurrences
4
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityNonce verification recommended4
Category
Security
Occurrences
4
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityDatabase parameter is not escaped2
Category
Security
Occurrences
2
Severity
warning

Sample message

Unescaped parameter $tbl used in $wpdb->get_var()\n$tbl assigned unsafely at line 42.

WARNINGMaintainabilitySchema Change2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGI18nDiscouraged text-domain loading1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

WARNINGMaintainabilityNon-prefixed function1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed global variable1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

ERRORMaintainabilityNon Enqueued Stylesheet1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Stylesheets must be registered/enqueued via wp_enqueue_style()

ERRORI18nText Domain Mismatch1
Category
I18n
Occurrences
1
Severity
error

Sample message

Mismatched text domain. Expected 'hkdev-maintenance-mode' but got 'Settings page title'.

ERRORI18nToo Many Function Args1
Category
I18n
Occurrences
1
Severity
error

Sample message

Too many parameters passed to function "esc_html_e()". Expected: 2 parameters, received: 3

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

Sample message

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

WARNINGRepo Compliancereadme parser warnings trimmed short description1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Short Description" section is too long and was truncated. A maximum of 150 characters is supported.

ERRORMaintainabilitystable tag mismatch1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Mismatched Stable Tag: 3.0.1 != 3.1.3. 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

Not analyzed yet.

Score History

First score snapshot

v3.1.3

39

Latest

Findings
195
Errors
86
Warnings
109
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins

Beckin Maintenance Mode

1k+ active installs

100
100
100
Shortcode Redirect

10k+ active installs

100
Simply Show Hooks

2k+ active installs

100
Attachment Pages Redirect

20k+ active installs

99