Replace Image

Upload a new version of an image without deleting the old image attachment, so that references to the image remain intact.

v1.1.11WP ZoneUpdated Added 9k+ installs92% rating
84
Score
5
Errors
13
Warnings
+0
Change

Category Scores

Security76
Repo91
Performance100
Maintainability91

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

18 findings

Security

8

2 issue groups

Maintainability

8

4 issue groups

Repo Compliance

2

2 issue groups

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_POST['replaceWith']4
Category
Security
Occurrences
4
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['replaceWith']

WARNINGSecurityMissing Unslash$_POST['replaceWith'] not unslashed before sanitization. Use wp_unslash() or similar4
Category
Security
Occurrences
4
Severity
warning

Sample message

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

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wp_delete_file".3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wp_delete_file".

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

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wpFunction "wp_delete_file()" requires WordPress 4.2.0, but your plugin minimum supported version is WordPress 3.5.0.2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Function "wp_delete_file()" requires WordPress 4.2.0, but your plugin minimum supported version is WordPress 3.5.0.

WARNINGMaintainabilityNon Prefixed Constant FoundGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WPZ_REPLACE_IMAGE_VERSION".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WPZ_REPLACE_IMAGE_VERSION".

ERRORRepo Complianceoutdated tested upto headerTested up to: 6.6 < 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.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.6 < 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.

WARNINGRepo Compliancereadme parser warnings too many tagsOne or more tags were ignored. Please limit your plugin to 5 tags.1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

Score History

First score snapshot

v1.1.11

84

Latest

Findings
18
Errors
5
Warnings
13
Check
2.0.0

Related Plugins

Category Icon

2k+ active installs

100
Disable Lazy Load

10k+ active installs

100
Image Placeholders

60k+ active installs

100
100
Modern Image Formats

100k+ active installs

100