Photo Gallery is a cool responsive image gallery plugin with beautiful views
Prioritized issue groups from the latest Plugin Check scan
Security
742
10 issue groups
Maintainability
535
15 issue groups
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$name ({$size['width']}x{$size['height']})"'.
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$accordion_active".
Sample message
Processing form data without nonce verification.
Sample message
$_COOKIE['ays_gpg_page_tab_free'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Use of a direct database call is discouraged.
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Sample message
Use placeholders and $wpdb->prepare(); found $cat_table
Sample message
Detected usage of a non-sanitized input variable: $_COOKIE['ays_gpg_page_tab_free']
Sample message
Unescaped parameter $query used in $wpdb->get_results()\n$query assigned unsafely at line 1246.
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['gallery_category']. Check that the array index exists before using it.
Sample message
wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Processing form data without nonce verification.
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_gallery_photo_gallery".
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "AYS_GALLERY_NAME".
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "upgrader_clear_destination".
Sample message
Unescaped parameter $cat_table used in $wpdb->query()\n$cat_table assigned unsafely at line 36.
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "Ays_Gallery_Extra_Shortcodes_Public".
Sample message
Attempting a database schema change is discouraged.
Sample message
Function "get_user_locale()" requires WordPress 4.7.0, but your plugin minimum supported version is WordPress 4.0.0.
Sample message
Detected usage of meta_key, possible slow query.
Sample message
print_r() found. Debug code should not normally be used in production.
Sample message
Scripts must be registered/enqueued via wp_enqueue_script()
Sample message
Found call to wp_enqueue_style() with external resource. Offloading styles to your servers or any remote service is disallowed.
Potential connections found in static code analysis.
Outbound calls
187
External assets
2
Incoming endpoints
13
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
6 score snapshots
v6.8.2
25
Latest
v6.8.1
25
Score
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 25 | 1,291 | 466 | 825 | v6.8.2 | 2.0.0 |
| 25 | 1,286 | 466 | 820 | v6.8.1 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.