MD5 Media Renamer

Sanitize and rename automatically media files during upload using PHP time() as prefix and the file name encrypted in MD5() as suffix.

v1.5neoslabUpdated Added 400 installs100% rating
85
Score
8
Errors
19
Warnings
+0
Change

Category Scores

Security82
Repo86
Performance100
Maintainability86

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

27 findings

Maintainability

19

5 issue groups

Security

3

3 issue groups

Repo Compliance

3

3 issue groups

I18n

2

2 issue groups

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

Sample message

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

ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_SERVER['SCRIPT_FILENAME']1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_SERVER['SCRIPT_FILENAME']

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_SERVER['SCRIPT_FILENAME']. Check that the array index exists before using it.1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_SERVER['SCRIPT_FILENAME']. Check that the array index exists before using it.

WARNINGSecurityRequest data is not unslashed$_SERVER['SCRIPT_FILENAME'] not unslashed before sanitization. Use wp_unslash() or similar1
Category
Security
Occurrences
1
Severity
warning

Sample message

$_SERVER['SCRIPT_FILENAME'] not unslashed before sanitization. Use wp_unslash() or similar

ERRORMaintainabilityrand mt randmt_rand() is discouraged. Use the far less predictable wp_rand() instead.1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

mt_rand() is discouraged. Use the far less predictable wp_rand() instead.

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: 'Thank you for installing '.ML79_PLUGIN_NAME.' v'.ML79_PLUGIN_VERSION.''1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: 'Thank you for installing '.ML79_PLUGIN_NAME.' v'.ML79_PLUGIN_VERSION.''

ERRORI18nText Domain MismatchMismatched text domain. Expected 'md5-media-renamer' but got 'imRobot'.1
Category
I18n
Occurrences
1
Severity
error

Sample message

Mismatched text domain. Expected 'md5-media-renamer' but got 'imRobot'.

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

Sample message

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

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

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

ERRORMaintainabilitystable tag mismatch1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Mismatched Stable Tag: 1.6 != 1.5. 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.

13 domains

Outbound calls

18

External assets

0

Incoming endpoints

0

Notable Domains

natexim.com4 · outbound
paypal.com3 · outbound
delicious.com1 · outbound
facebook.com1 · outbound
natexim.tumblr.com1 · outbound

Platform / Reference Domains

w3.org1 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v1.5

85

Latest

Findings
27
Errors
8
Warnings
19
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins