Emergency password reset

This plugin allows the admin to reset all the passwords and automatically email out the link to reset

v9.4andy_moyleUpdated Added 800 installs68% rating
73
Score
56
Errors
14
Warnings
+0
Change

Category Scores

Security66
Repo94
Performance100
Maintainability62

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

70 findings

Maintainability

63

12 issue groups

Security

6

4 issue groups

Repo Compliance

1

1 issue group

ERRORMaintainabilitywp function not compatible with requires wpFunction "esc_attr()" requires WordPress 2.8.0, but your plugin minimum supported version is WordPress 2.7.0.44
Category
Maintainability
Occurrences
44
Severity
error

Sample message

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

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.3
Category
Maintainability
Occurrences
3
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().3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

ERRORMaintainabilityOffloaded ContentOffloading images, js, css, and other scripts to your servers or any remote service is disallowed.2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.

WARNINGMaintainabilityABSPATHDetectedWriting files using ABSPATH may be problematic. Consider using wp_upload_dir() instead if storing user data or generated files.2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Writing files using ABSPATH may be problematic. Consider using wp_upload_dir() instead if storing user data or generated files.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['emergency_reset']2
Category
Security
Occurrences
2
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['emergency_reset']

WARNINGSecurityRequest data is not unslashed$_POST['emergency_reset'] not unslashed before sanitization. Use wp_unslash() or similar2
Category
Security
Occurrences
2
Severity
warning

Sample message

$_POST['emergency_reset'] not unslashed before sanitization. Use wp_unslash() or similar

ERRORMaintainabilityfile system operations fcloseFile operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations fopenFile operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "add_emergency_password_reset_menu_item".1
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: "add_emergency_password_reset_menu_item".

Show 7 more
ERRORSecurityOutput is not escaped1
Category
Security
Occurrences
1
Severity
error

Sample message

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

WARNINGSecurityInput is not validated1
Category
Security
Occurrences
1
Severity
warning

Sample message

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

ERRORMaintainabilityfile system operations fputs1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations is writable1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

ERRORMaintainabilityrename rename1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

rename() is discouraged. Use WP_Filesystem::move() to rename a file.

ERRORMaintainabilityMissing direct file access protection1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

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

Sample message

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

External Connections

Potential connections found in static code analysis.

4 domains

Outbound calls

7

External assets

1

Incoming endpoints

0

Notable Domains

themoyles.co.uk2 · outbound
paypal.me1 · outbound

Platform / Reference Domains

gnu.org1 · platform/reference

External Asset Domains

paypal.com4 · asset + outbound

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v9.4

73

Latest

Findings
70
Errors
56
Warnings
14
Check
2.0.0

Relationship Map

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

23 nodes

Related Plugins

Church Admin

900 active installs

23