Delete all the SPAM comments of your WordPress site in a regular time interval. To start the scheduled script this plugin using wp_cron hook.
Prioritized issue groups from the latest Plugin Check scan
Maintainability
25
6 issue groups
Security
12
6 issue groups
I18n
4
1 issue group
Repo Compliance
2
2 issue groups
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "cron_add_weekly".
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
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$wpdb'.
Sample message
Missing $domain parameter in function call to __().
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $spam_comments_ids at "DELETE FROM {$wpdb->commentmeta} WHERE comment_id IN ( $spam_comments_ids )"
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Sample message
Using date_default_timezone_set() and similar isn't allowed, instead use WP internal timezone support.
Sample message
Detected usage of a non-sanitized input variable: $_POST['spam_delete_time']
Sample message
$_POST['spam_delete_time'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['spam_delete_time']. Check that the array index exists before using it.
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
Tested up to: 4.9 < 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.
Sample message
Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.
Potential connections found in static code analysis.
Outbound calls
4
External assets
0
Incoming endpoints
0
No external asset domains detected.
No public endpoints detected.
First score snapshot
v1.3
62
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 62 | 43 | 14 | 29 | v1.3 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.