The WP Hardening is a one-click tool to fix standard security recommendations on your WordPress website.
Prioritized issue groups from the latest Plugin Check scan
I18n
185
5 issue groups
Security
104
8 issue groups
Maintainability
22
12 issue groups
Sample message
Mismatched text domain. Expected 'wp-security-hardening' but got 'whp'.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$current_user'.
Sample message
$_POST[$this->settings_prefix.'save_settings_field'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['custom_admin_report_email']. Check that the array index exists before using it.
Sample message
Detected usage of a non-sanitized input variable: $_POST[$this->settings_prefix.'save_settings_field']
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.
Sample message
Processing form data without nonce verification.
Sample message
Missing $domain parameter in function call to __().
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$s", but got "%d, %s" in '%d WordPress Hardening recommendations for %s'.
Sample message
The use of function ini_set() is discouraged
Sample message
Processing form data without nonce verification.
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: is_writable().
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "WP Hardening (discontinued)" - contains the restricted term "wp" which cannot be used at all in your plugin name.
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().
Sample message
rand() is discouraged. Use the far less predictable wp_rand() instead.
Sample message
Resource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.
Sample message
Use of a direct database call is discouraged.
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" 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.
Sample message
unlink() is discouraged. Use wp_delete_file() to delete a file.
Sample message
In footer ($in_footer) is not set explicitly wp_register_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.
Sample message
The $domain parameter must be a single text string literal. Found: $this->settings_prefix
Not analyzed yet.
First score snapshot
v1.2.8
36
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 36 | 315 | 230 | 85 | v1.2.8 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.