Enable Posts and Pages to automatically expire and change at a certain time, and provide notification of expiration.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
35
7 issue groups
I18n
16
3 issue groups
Maintainability
15
9 issue groups
Repo Compliance
5
5 issue groups
ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: SIMPLE_EXPIRES_DOMAIN14
- Category
- I18n
- Occurrences
- 14
- Severity
- error
Sample message
The $domain parameter must be a single text string literal. Found: SIMPLE_EXPIRES_DOMAIN
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" value='$item' name='scadenza-enable' id='scadenza-enable' type='radio' /> $items[$i]</label> "'.8
- Category
- Security
- Occurrences
- 8
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" value='$item' name='scadenza-enable' id='scadenza-enable' type='radio' /> $items[$i]</label> "'.
WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST['anno']. Check that the array index exists before using it.8
- Category
- Security
- Occurrences
- 8
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['anno']. Check that the array index exists before using it.
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['anno']7
- Category
- Security
- Occurrences
- 7
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_POST['anno']
WARNINGSecurityRequest data is not unslashed$_POST['anno'] not unslashed before sanitization. Use wp_unslash() or similar7
- Category
- Security
- Occurrences
- 7
- Severity
- warning
Sample message
$_POST['anno'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "deactivation".5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "deactivation".
ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.3
- Category
- Security
- Occurrences
- 3
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.2
- Category
- Maintainability
- Occurrences
- 2
- 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().2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGI18nDiscouraged text-domain loadingload_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.1
- 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.
Show 14 moreShow less
ERRORSecuritySQL query is not prepared1
- Category
- Security
- Occurrences
- 1
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $querystring
WARNINGSecurityUnnecessary Prepare1
- Category
- Security
- Occurrences
- 1
- Severity
- warning
Sample message
It is not necessary to prepare a query which doesn't use variable replacement.
ERRORI18nDeprecated parameter: load_plugin_textdomain parameter 21
- Category
- I18n
- Occurrences
- 1
- Severity
- error
Sample message
The parameter "PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)).'/lang'" at position #2 of load_plugin_textdomain() has been deprecated since WordPress version 2.7.0. Use "" instead.
ERRORMaintainabilityDiscouraged WordPress constant usage: PLUGINDIR1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
Found usage of constant "PLUGINDIR". Use WP_PLUGIN_DIR instead.
WARNINGMaintainabilityMissing Version1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.
WARNINGMaintainabilityNot In Footer1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
In footer ($in_footer) is not set explicitly wp_enqueue_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.
WARNINGMaintainabilitymismatched plugin name1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Plugin name "Simple Expires" is different from the name declared in plugin header "Simple expires".
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 Complianceno license1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
Missing "License". Please update your readme with a valid GPLv2 (or later) compatible license.
ERRORRepo Complianceplugin header no license1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.
WARNINGRepo Compliancereadme invalid contributors1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- warning
Sample message
The "Contributors" header in the readme file must be a comma-separated list of WordPress.org-formatted usernames.
WARNINGRepo Compliancereadme parser warnings tested header ignored1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- warning
Sample message
The "Tested up to" field was ignored. This field should only contain a valid WordPress version such as "7.0" or "7.1".
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.
Outbound calls
6
External assets
0
Incoming endpoints
0
Notable Domains
Platform / Reference Domains
External Asset Domains
No external asset domains detected.
Incoming Endpoints
No public endpoints detected.
Score History
First score snapshot
v0.10
38
Latest
- Findings
- 71
- Errors
- 32
- Warnings
- 39
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 38 | 71 | 32 | 39 | v0.10 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.