Raffle Play Woo is generating raffle tickets for woocommerce products, based on the number defined by the admin. Adds raffle tickets to your woocommer …
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
135
9 issue groups
Maintainability
134
10 issue groups
I18n
68
6 issue groups
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<h2 class='wc-block-components-title wc-block-components-checkout-step__title raffle-tickets-not-reserved-msg'> $not_reserved </h2>"'.64
- Category
- Security
- Occurrences
- 64
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<h2 class='wc-block-components-title wc-block-components-checkout-step__title raffle-tickets-not-reserved-msg'> $not_reserved </h2>"'.
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$answer".27
- Category
- Maintainability
- Occurrences
- 27
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$answer".
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.26
- Category
- I18n
- Occurrences
- 26
- 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.
WARNINGMaintainabilityMixed line endingsFile has mixed line endings; this may cause incorrect results24
- Category
- Maintainability
- Occurrences
- 24
- Severity
- warning
Sample message
File has mixed line endings; this may cause incorrect results
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.21
- Category
- Maintainability
- Occurrences
- 21
- 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().21
- Category
- Maintainability
- Occurrences
- 21
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().19
- Category
- I18n
- Occurrences
- 19
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_GET['email']. Check that the array index exists before using it.17
- Category
- Security
- Occurrences
- 17
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['email']. Check that the array index exists before using it.
ERRORI18nText Domain MismatchMismatched text domain. Expected 'raffle-play-woo' but got 'advanced-crossword'.16
- Category
- I18n
- Occurrences
- 16
- Severity
- error
Sample message
Mismatched text domain. Expected 'raffle-play-woo' but got 'advanced-crossword'.
WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable $query at "$query "14
- Category
- Security
- Occurrences
- 14
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $query at "$query "
Show 15 moreShow less
WARNINGSecurityDatabase parameter is not escaped13
- Category
- Security
- Occurrences
- 13
- Severity
- warning
Sample message
Unescaped parameter $rpwoo_products_tbl used in $wpdb->get_results()\n$rpwoo_products_tbl assigned unsafely at line 66.
WARNINGMaintainabilitySchema Change13
- Category
- Maintainability
- Occurrences
- 13
- Severity
- warning
Sample message
Attempting a database schema change is discouraged.
WARNINGMaintainabilityNot In Footer11
- Category
- Maintainability
- Occurrences
- 11
- 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.
WARNINGMaintainabilityMissing Version10
- Category
- Maintainability
- Occurrences
- 10
- 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.
WARNINGSecurityMissing nonce verification7
- Category
- Security
- Occurrences
- 7
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityNonce verification recommended7
- Category
- Security
- Occurrences
- 7
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORSecurityUnsupported Identifier Placeholder6
- Category
- Security
- Occurrences
- 6
- Severity
- error
Sample message
The %i modifier is only supported in WP 6.2 or higher. Found: "%i".
WARNINGSecurityRequest data is not unslashed4
- Category
- Security
- Occurrences
- 4
- Severity
- warning
Sample message
$_POST['data'][self::GEN_CHECKOUT] not unslashed before sanitization. Use wp_unslash() or similar
ERRORI18nNon Singular String Literal Text4
- Category
- I18n
- Occurrences
- 4
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: $link_documentation
ERRORMaintainabilitydate date3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
WARNINGSecurityInput is not sanitized3
- Category
- Security
- Occurrences
- 3
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_POST[self::PRODUCT_CKB]
ERRORI18nUnordered Placeholders Text2
- Category
- I18n
- Occurrences
- 2
- Severity
- error
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Watch explanation %s and %s on this youtube videos I made'.
ERRORMaintainabilitybadly named files2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
File and folder names must not contain spaces or special characters.
ERRORMaintainabilityMissing direct file access protection2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
WARNINGI18nDiscouraged text-domain loading1
- 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.
External Connections
Potential connections found in static code analysis.
Outbound calls
113
External assets
1
Incoming endpoints
5
Notable Domains
Platform / Reference Domains
External Asset Domains
Incoming Endpoints
wp_ajax
Admin AJAX endpoints4
wp_ajax
wp_ajax
wp_ajax
wp_ajax
Score History
First score snapshot
v2.5.3
31
Latest
- Findings
- 350
- Errors
- 151
- Warnings
- 199
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 31 | 350 | 151 | 199 | v2.5.3 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.