Media Sync

Simple plugin to scan "uploads" directory and bring those files into Media Library.

v1.5.2erolsk8Updated Added 50k+ installs94% rating67% support resolved
39
Score
193
Errors
7
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability68

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

200 findings

Maintainability

95

6 issue groups

Security

88

4 issue groups

I18n

17

2 issue groups

ERRORMaintainabilityShort PHP open tag foundShort PHP opening tag used with echo; expected "<?php echo ! ..." but found "<?= ! ..."86
Category
Maintainability
Occurrences
86
Severity
error

Sample message

Short PHP opening tag used with echo; expected "<?php echo ! ..." but found "<?= ! ..."

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

Sample message

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

ERRORI18nMissing Translators CommentA function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.16
Category
I18n
Occurrences
16
Severity
error

Sample message

A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.

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

Sample message

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

ERRORSecuritySetting is missing a sanitization callbackSanitization missing for register_setting().2
Category
Security
Occurrences
2
Severity
error

Sample message

Sanitization missing for register_setting().

WARNINGMaintainabilityDiscouraged PHP functionThe use of function ini_set() is discouraged2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

The use of function ini_set() is discouraged

WARNINGI18nDiscouraged text-domain loadingload_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

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

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;MediaSync&quot;.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST[&#039;media_items&#039;]1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST[&#039;media_items&#039;]

WARNINGSecurityRequest data is not unslashed$_POST[&#039;media_items&#039;] not unslashed before sanitization. Use wp_unslash() or similar1
Category
Security
Occurrences
1
Severity
warning

Sample message

$_POST[&#039;media_items&#039;] not unslashed before sanitization. Use wp_unslash() or similar

Show 2 more
WARNINGMaintainabilityNot In Footer1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.

ERRORMaintainabilityMissing direct file access protection1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

External Connections

Not analyzed yet.

Score History

First score snapshot

v1.5.2

39

Latest

Findings
200
Errors
193
Warnings
7
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins

Add From Server Reloaded

2k+ active installs

99
Custom Post Exporter

3k+ active installs

99
Default Featured Image

60k+ active installs

99
Solace Extra

10k+ active installs

99