AWEOS WP Lock

Lock your Website from external access if your website is under construction. Only admins can see the website. You can also define a timespan.

v1.4.9AWEOS GmbHUpdated Added 400 installs100% rating
39
Score
24
Errors
53
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance100
Maintainability79

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

77 findings

Security

49

5 issue groups

Maintainability

26

9 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 '"<div class='notice notice-error'><p>$php</p></div>"'.14
Category
Security
Occurrences
14
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<div class='notice notice-error'><p>$php</p></div>"'.

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST[&#039;wpLockLogo&#039;]. Check that the array index exists before using it.12
Category
Security
Occurrences
12
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST[&#039;wpLockLogo&#039;]. Check that the array index exists before using it.

WARNINGSecurityRequest data is not unslashed$_POST[&#039;wpLockLogo&#039;] not unslashed before sanitization. Use wp_unslash() or similar12
Category
Security
Occurrences
12
Severity
warning

Sample message

$_POST[&#039;wpLockLogo&#039;] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST[&#039;wplock-disable-for&#039;]10
Category
Security
Occurrences
10
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST[&#039;wplock-disable-for&#039;]

ERRORMaintainabilitywp function not compatible with requires wpFunction "home_url()" requires WordPress 3.0.0, but your plugin minimum supported version is WordPress 2.8.0.7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;AdminBarMenu&quot;.4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;AdminBarMenu&quot;.

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

Sample message

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

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

Sample message

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

WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "AWEOS WP Lock" - contains the restricted term "wp" which cannot be used at all in your plugin name.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;loadAdminStyle&quot;.2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;loadAdminStyle&quot;.

Show 6 more
WARNINGSecuritywp redirect wp redirect1
Category
Security
Occurrences
1
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the &quot;allowed_redirect_hosts&quot; filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

WARNINGMaintainabilityMissing Version1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Resource version not set in call to wp_register_style(). This means new versions of the style may not always be loaded due to browser caching.

ERRORMaintainabilityNon Enqueued Stylesheet1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Stylesheets must be registered/enqueued via wp_enqueue_style()

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 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.

1 domains

Outbound calls

3

External assets

0

Incoming endpoints

4

Notable Domains

aweos.de3 · outbound

External Asset Domains

No external asset domains detected.

Incoming Endpoints

wp_ajax_nopriv_check_wplock_statuspublic

wp_ajax

Admin AJAX endpoints2
admin_post_update_wplock_settingsauthenticated

admin_post

wp_ajax_check_wplock_statusauthenticated

wp_ajax

Score History

First score snapshot

v1.4.9

39

Latest

Findings
77
Errors
24
Warnings
53
Check
2.0.0

Relationship Map

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

30 nodes

Related Plugins

Beckin Maintenance Mode

1k+ active installs

100
100
Layouts for Divi

1k+ active installs

99
Machete

7k+ active installs

99
Maintenance

1m+ active installs

99