Gallery by BestWebSoft – Customizable Image and Photo Galleries for WordPress

Add beautiful, fully responsive galleries, albums, images, and categories to your WordPress website quickly and easily. Showcase your portfolio, photo …

v4.7.9bestwebsoftUpdated Added 10k+ installs80% rating
24
Score
536
Errors
324
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

860 findings

I18n

470

3 issue groups

Maintainability

238

14 issue groups

Security

114

8 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'gallery-plugin' but got 'bestwebsoft'.398
Category
I18n
Occurrences
398
Severity
error

Sample message

Mismatched text domain. Expected 'gallery-plugin' but got 'bestwebsoft'.

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

Sample message

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

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

Sample message

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

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.51
Category
I18n
Occurrences
51
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.

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

Sample message

Processing form data without nonce verification.

ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: $this->bws_plugin_text_domain21
Category
I18n
Occurrences
21
Severity
error

Sample message

The $domain parameter must be a single text string literal. Found: $this->bws_plugin_text_domain

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

Sample message

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

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "bulk_actions_{$this->screen->id}".18
Category
Maintainability
Occurrences
18
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "bulk_actions_{$this->screen->id}".

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

Sample message

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

Show 15 more issue groups
WARNINGSecurityInput Not Sanitized14
Category
Security
Occurrences
14
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['_gallery_order_' . $post->ID]

WARNINGMaintainabilityslow db query meta key13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGSecurityMissing12
Category
Security
Occurrences
12
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityMissing Unslash12
Category
Security
Occurrences
12
Severity
warning

Sample message

$_POST['_gallery_order_' . $post->ID] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityDynamic Hookname Found11
Category
Maintainability
Occurrences
11
Severity
warning

Sample message

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

ERRORSecurityNot Prepared9
Category
Security
Occurrences
9
Severity
error

Sample message

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

WARNINGSecurityInput Not Validated9
Category
Security
Occurrences
9
Severity
warning

Sample message

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

ERRORMaintainabilityrand rand9
Category
Maintainability
Occurrences
9
Severity
error

Sample message

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

WARNINGMaintainabilityMissing Version9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.

WARNINGMaintainabilityNot In Footer9
Category
Maintainability
Occurrences
9
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.

ERRORMaintainabilityNo Explicit Version6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

Version parameter is not explicitly set or has been set to an equivalent of "false" for wp_register_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.

ERRORSecurityUnescaped DBParameter5
Category
Security
Occurrences
5
Severity
error

Sample message

Unescaped parameter $images_array used in $wpdb->get_var()\n$images_array assigned unsafely at line 129.

WARNINGMaintainabilityslow db query tax query3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

WARNINGMaintainabilityNon Prefixed Class Found3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log debug backtrace3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

Score History

First score snapshot

v4.7.9

24

Latest

Findings
860
Errors
536
Warnings
324
Check
2.0.0

Related Plugins