PlugVersions – Easily roll back to previous versions of your plugins.

Retains up to three versions when you update a plugin. It works with premium and custom plugins too.

v0.2.1Jose MortellaroUpdated Added 1k+ installs88% rating
83
Score
9
Errors
6
Warnings
+0
Change

Category Scores

Security77
Repo89
Performance100
Maintainability88

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

15 findings

Maintainability

8

6 issue groups

Security

5

2 issue groups

Repo Compliance

2

2 issue groups

WARNINGSecurityRequest data is not unslashed$_GET['rollback_wp'] not unslashed before sanitization. Use wp_unslash() or similar4
Category
Security
Occurrences
4
Severity
warning

Sample message

$_GET['rollback_wp'] not unslashed before sanitization. Use wp_unslash() or similar

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;

ERRORMaintainabilityPlugin Directory WritePlugin folders are deleted when upgraded. Do not save data to the plugin folder using copy_dir(). Detected usage of constant WP_PLUGIN_DIR. Use wp_upload_dir() to get the uploads directory path or save to the database instead.1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Plugin folders are deleted when upgraded. Do not save data to the plugin folder using copy_dir(). Detected usage of constant WP_PLUGIN_DIR. Use wp_upload_dir() to get the uploads directory path or save to the database instead.

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$result'.1
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 '$result'.

ERRORMaintainabilityunlink unlinkunlink() is discouraged. Use wp_delete_file() to delete a file.1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

unlink() is discouraged. Use wp_delete_file() to delete a file.

WARNINGMaintainabilitymismatched plugin namePlugin name "PlugVersions - Easily roll back to previous versions of your plugins." is different from the name declared in plugin header "PlugVersions".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "PlugVersions - Easily roll back to previous versions of your plugins." is different from the name declared in plugin header "PlugVersions".

ERRORRepo Compliancemismatched tested up to headerMismatched "Tested up to": 7.0 != 6.8. The "Tested up to" value in the readme file must match the "Tested up to" value in the plugin header. If the plugin header has a "Tested up to" value, it will override the readme value, which can cause confusion.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Mismatched "Tested up to": 7.0 != 6.8. The "Tested up to" value in the readme file must match the "Tested up to" value in the plugin header. If the plugin header has a "Tested up to" value, it will override the readme value, which can cause confusion.

ERRORMaintainabilityplugin updater detectedPlugin Updater detected. These are not permitted in WordPress.org hosted plugins. Detected: site_transient_update_plugins1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Plugin Updater detected. These are not permitted in WordPress.org hosted plugins. Detected: site_transient_update_plugins

ERRORRepo Compliancereadme mismatched header requiresMismatched Requires at least: 4.6 != 4.9. "Requires at least" needs to be exactly the same with that in your main plugin file's header.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Mismatched Requires at least: 4.6 != 4.9. "Requires at least" needs to be exactly the same with that in your main plugin file's header.

WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "PlugVersions - Easily roll back to previous versions of your plugins." - contains the restricted term "plugin" which cannot be used at all in your plugin name.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "PlugVersions - Easily roll back to previous versions of your plugins." - contains the restricted term "plugin" which cannot be used at all in your plugin name.

Score History

First score snapshot

v0.2.1

83

Latest

Findings
15
Errors
9
Warnings
6
Check
2.0.0

Related Plugins