Leyka is a plugin for crowdfunding and donations collection via WordPress website.
Prioritized issue groups from the latest Plugin Check scan
Security
2,485
9 issue groups
Maintainability
962
12 issue groups
I18n
202
4 issue groups
Sample message
$_COOKIE[$name] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Processing form data without nonce verification.
Sample message
Processing form data without nonce verification.
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$activation_status".
Sample message
Detected usage of a non-sanitized input variable: $_COOKIE[$name]
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['PayerID']. Check that the array index exists before using it.
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.
Sample message
print_r() found. Debug code should not normally be used in production.
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
Missing $domain parameter in function call to __().
Sample message
The use of function ini_set() is discouraged
Sample message
Detected usage of meta_key, possible slow query.
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
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "agree_to_pd_terms_text_link_part".
Sample message
Use placeholders and $wpdb->prepare(); found $curr_interval_donations
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Detected usage of meta_query, possible slow query.
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d, %3$d", but got "%d, %d, %d" in 'The value should be max. %d characters length (currently: <span class="leyka-field-current-value-length">%d</span> / %d)'.
Sample message
The $text parameter must be a single text string literal. Found: $default_template['name']
Sample message
Unescaped parameter $donations_post_type used in $wpdb->get_results()\n$donations_post_type assigned unsafely at line 128.
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $query_joins at "SELECT COUNT(DISTINCT meta.meta_value) FROM {$wpdb->prefix}postmeta meta $query_joins WHERE $query_where"
Sample message
error_log() found. Debug code should not normally be used in production.
Sample message
Detected usage of meta_value, possible slow query.
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "error_log_yandex_phyz".
Potential connections found in static code analysis.
Outbound calls
290
External assets
8
Incoming endpoints
2
wp_ajax
wp_ajax
2 score snapshots
v3.32.3
21
Latest
v3.32.2
22
Score
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 21 | 3,703 | 257 | 3,446 | v3.32.3 | 2.0.0 |
| 22 | 3,698 | 253 | 3,445 | v3.32.2 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.