Enhanced Media Library

This plugin would be handy for those who need to manage a lot of media files.

v2.9.4webbistroUpdated Added 60k+ installs86% rating
36
Score
361
Errors
117
Warnings
+0
Change

Category Scores

Security0
Repo89
Performance100
Maintainability65

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

478 findings

Security

357

12 issue groups

I18n

57

3 issue groups

Maintainability

57

10 issue groups

ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.237
Category
Security
Occurrences
237
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

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

Sample message

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

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().49
Category
I18n
Occurrences
49
Severity
error

Sample message

Missing $domain parameter in function call to __().

WARNINGSecurityRecommendedProcessing form data without nonce verification.20
Category
Security
Occurrences
20
Severity
warning

Sample message

Processing form data without nonce verification.

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

Sample message

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

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_FILES['import_file']13
Category
Security
Occurrences
13
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES['import_file']

WARNINGSecurityMissing Unslash$_GET['page'] not unslashed before sanitization. Use wp_unslash() or similar13
Category
Security
Occurrences
13
Severity
warning

Sample message

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

WARNINGSecurityInterpolated Not PreparedUse placeholders and $wpdb->prepare(); found interpolated variable $id_column at "SELECT $id_column FROM $table WHERE meta_key LIKE %s"7
Category
Security
Occurrences
7
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $id_column at "SELECT $id_column FROM $table WHERE meta_key LIKE %s"

Show 15 more
WARNINGSecurityInput Not Validated5
Category
Security
Occurrences
5
Severity
warning

Sample message

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

ERRORI18nMissing Translators Comment5
Category
I18n
Occurrences
5
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.

WARNINGSecurityUnfinished Prepare4
Category
Security
Occurrences
4
Severity
warning

Sample message

Replacement variables found, but no valid placeholders found in the query.

ERRORMaintainabilityGet terms Param2Found4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

The parameter "array( 'fields' => 'all', 'get' => 'all' )" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.

ERRORSecurityregister setting Missing3
Category
Security
Occurrences
3
Severity
error

Sample message

Sanitization missing for register_setting().

ERRORSecurityNot Prepared3
Category
Security
Occurrences
3
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $object_types

WARNINGMaintainabilityNon Prefixed Variable Found3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

ERRORI18nUnordered Placeholders Text3
Category
I18n
Occurrences
3
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Auto-assign media items to parent %s %s on upload'.

ERRORSecurityUnescaped DBParameter2
Category
Security
Occurrences
2
Severity
error

Sample message

Unescaped parameter $query used in $wpdb->get_col()\n$query assigned unsafely at line 1539.

WARNINGMaintainabilityslow db query tax query2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

WARNINGMaintainabilityNon Prefixed Class Found2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "Walker_Media_Taxonomy_Checklist".

WARNINGMaintainabilityNon Prefixed Function Found2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

ERRORSecurityQuoted Dynamic Placeholder Generation1
Category
Security
Occurrences
1
Severity
error

Sample message

Dynamic placeholder generation should not have surrounding quotes.

ERRORMaintainabilitydate date1
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.

WARNINGMaintainabilityDynamic Hookname Found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

Score History

First score snapshot

v2.9.4

36

Latest

Findings
478
Errors
361
Warnings
117
Check
2.0.0

Related Plugins

Mime Types Plus

10k+ active installs

98
98
Organize Media Folder

2k+ active installs

97
Moving Media Library

2k+ active installs

94
Media Library File Size

6k+ active installs

80
Media Search Enhanced

4k+ active installs

75