Auto Prune Posts

Auto deletes expires (prunes) posts after a certain amount of time. On a per category basis (single category, or all at once.

v3.1.1ramon finckenUpdated Added 1k+ installs84% rating0% support resolved
38
Score
54
Errors
57
Warnings
+0
Change

Category Scores

Security0
Repo77
Performance100
Maintainability82

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

111 findings

Security

78

5 issue groups

Maintainability

24

7 issue groups

Repo Compliance

5

5 issue groups

I18n

4

1 issue group

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$cat'.36
Category
Security
Occurrences
36
Severity
error

Sample message

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

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST['action'][$cat_id][$the_type]. Check that the array index exists before using it.14
Category
Security
Occurrences
14
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed$_POST['action'][$cat_id][$the_type] not unslashed before sanitization. Use wp_unslash() or similar14
Category
Security
Occurrences
14
Severity
warning

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['action'][$cat_id][$the_type]13
Category
Security
Occurrences
13
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['action'][$cat_id][$the_type]

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$period".9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$period".

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

Sample message

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

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().4
Category
I18n
Occurrences
4
Severity
error

Sample message

Missing $domain parameter in function call to __().

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "plugin_auto_prune_posts".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "plugin_auto_prune_posts".

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

Show 8 more
WARNINGSecurityNonce verification recommended1
Category
Security
Occurrences
1
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityDeprecated parameter: add_option parameter 31
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The parameter "NULL" at position #3 of add_option() has been deprecated since WordPress version 2.3.0. Use "" instead.

WARNINGMaintainabilityDeprecated parameter: is_email parameter 21
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The parameter "true" at position #2 of is_email() has been deprecated since WordPress version 3.0.0. Instead do not pass the parameter.

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

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

WARNINGRepo Compliancereadme parser warnings trimmed short description1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Short Description" section is too long and was truncated. A maximum of 150 characters is supported.

External Connections

Potential connections found in static code analysis.

7 domains

Outbound calls

18

External assets

0

Incoming endpoints

0

Notable Domains

mijnpress.nl8 · outbound
linkedin.com1 · outbound
managedwphosting.nl1 · outbound
ramonfincken.com1 · outbound

Platform / Reference Domains

wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v3.1.1

38

Latest

Findings
111
Errors
54
Warnings
57
Check
2.0.0

Relationship Map

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

35 nodes

Related Plugins

wp_head() cleaner

2k+ active installs

100
Auto Post Expire

1k+ active installs

99
99
Material Admin Theme

1k+ active installs

98
Remove Author Pages

3k+ active installs

98
WP Favicon Remover

10k+ active installs

97