CatFolders Document Gallery & PDF Library

Display WordPress PDF gallery and file gallery from folders. Comes with a clean, searchable & sortable list/grid layout.

v2.0.5CatFoldersUpdated Added 3k+ installs90% rating100% support resolved
39
Score
66
Errors
32
Warnings
+0
Change

Category Scores

Security0
Repo89
Performance100
Maintainability80

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

98 findings

Security

62

6 issue groups

Maintainability

32

8 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 '$actionIcon'.38
Category
Security
Occurrences
38
Severity
error

Sample message

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

ERRORSecurityNot PreparedUse placeholders and $wpdb->prepare(); found $folder_id19
Category
Security
Occurrences
19
Severity
error

Sample message

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

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$cfdoc_folder_hierarchy".17
Category
Maintainability
Occurrences
17
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log error logerror_log() found. Debug code should not normally be used in production.4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

error_log() found. Debug code should not normally be used in production.

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.3
Category
Maintainability
Occurrences
3
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().3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

ERRORSecurityUnescaped DBParameterUnescaped parameter $query used in $wpdb->get_col()\n$query assigned unsafely at line 198.2
Category
Security
Occurrences
2
Severity
error

Sample message

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

ERRORMaintainabilityblock api version too lowEditor blocks must define "apiVersion" 3 or higher in block.json for WordPress 7.0+ iframe editor compatibility.2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Editor blocks must define "apiVersion" 3 or higher in block.json for WordPress 7.0+ iframe editor compatibility.

WARNINGI18nload plugin textdomain Foundload_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.

WARNINGSecurityUnescaped DBParameterUnescaped parameter $where_args used in $wpdb->get_col()\n$where_args assigned unsafely at line 89.1
Category
Security
Occurrences
1
Severity
warning

Sample message

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

Show 8 more
WARNINGSecurityInterpolated Not Prepared1
Category
Security
Occurrences
1
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $select at "SELECT $select FROM "

WARNINGSecurityReplacements Wrong Number1
Category
Security
Occurrences
1
Severity
warning

Sample message

Incorrect number of replacements passed to $wpdb->prepare(). Found 1 replacement parameters, expected 3.

ERRORMaintainabilityNon Enqueued Stylesheet1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Stylesheets must be registered/enqueued via wp_enqueue_style()

ERRORI18nMissing Translators Comment1
Category
I18n
Occurrences
1
Severity
error

Sample message

A function call to esc_html__() 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.

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "CatFolders Document Gallery & PDF Library" is different from the name declared in plugin header "CatFolders Document Gallery".

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;

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.

ERRORRepo Compliancereadme mismatched header requires php1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Mismatched Requires PHP: 7.2 != 7.0. "Requires PHP" needs to be exactly the same with that in your main plugin file's header.

Score History

First score snapshot

v2.0.5

39

Latest

Findings
98
Errors
66
Warnings
32
Check
2.0.0

Related Plugins