Easy Media Replace

Replace Images and Media Files in WordPress Easily and Quickly.

v0.2.0Nabil LemsiehUpdated Added 1k+ installs80% rating
67
Score
16
Errors
14
Warnings
+0
Change

Category Scores

Security46
Repo91
Performance100
Maintainability88

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

30 findings

Security

15

3 issue groups

Maintainability

11

5 issue groups

I18n

2

2 issue groups

Repo Compliance

2

2 issue groups

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$file_type'.9
Category
Security
Occurrences
9
Severity
error

Sample message

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

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

Sample message

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

WARNINGMaintainabilityNon Prefixed Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_easy_media_replace".3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_easy_media_replace".

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

Sample message

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

WARNINGSecurityMissing Unslash$_POST['id'] not unslashed before sanitization. Use wp_unslash() or similar3
Category
Security
Occurrences
3
Severity
warning

Sample message

$_POST['id'] 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;2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

ERRORMaintainabilityrename renamerename() is discouraged. Use WP_Filesystem::move() to rename a file.1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

rename() is discouraged. Use WP_Filesystem::move() to rename a file.

ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: EMR_TEXT_DOMAIN1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $domain parameter must be a single text string literal. Found: EMR_TEXT_DOMAIN

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $text1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $text

ERRORRepo Complianceoutdated tested upto headerTested up to: 6.2 < 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.2 < 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.

Show 2 more
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.

ERRORMaintainabilitywp function not compatible with requires wp1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Function "wp_get_original_image_path()" requires WordPress 5.3.0, but your plugin minimum supported version is WordPress 4.0.0.

Score History

First score snapshot

v0.2.0

67

Latest

Findings
30
Errors
16
Warnings
14
Check
2.0.0

Related Plugins

Category Icon

2k+ active installs

100
100
Default Featured Image

60k+ active installs

99
Favicon Rotator

20k+ active installs

99
Featured Image

1k+ active installs

99
Image Hotspot by DevVN

30k+ active installs

99