Watu Quiz

Creates exams, surveys, and quizzes with unlimited number of questions and answers. Mobile/touch - friendly.

v3.4.7BobUpdated Added 3k+ installs94% rating100% support resolved
27
Score
1,089
Errors
1,014
Warnings
+0
Change

Category Scores

Security0
Repo97
Performance100
Maintainability12

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

2,103 findings

Security

1,427

13 issue groups

Maintainability

539

9 issue groups

I18n

126

3 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<meta http-equiv='refresh' content='0;url=$url' />"'.423
Category
Security
Occurrences
423
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<meta http-equiv='refresh' content='0;url=$url' />"'.

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.358
Category
Security
Occurrences
358
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$_exam&quot;.222
Category
Maintainability
Occurrences
222
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$_exam&quot;.

ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $exam136
Category
Security
Occurrences
136
Severity
error

Sample message

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

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET[&#039;date&#039;] not unslashed before sanitization. Use wp_unslash() or similar122
Category
Security
Occurrences
122
Severity
warning

Sample message

$_GET[&#039;date&#039;] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_FILES[&#039;csv&#039;][&#039;tmp_name&#039;]. Check that the array index exists before using it.119
Category
Security
Occurrences
119
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_FILES[&#039;csv&#039;][&#039;tmp_name&#039;]. Check that the array index exists before using it.

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

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.94
Category
Security
Occurrences
94
Severity
warning

Sample message

Processing form data without nonce verification.

Show 15 more
WARNINGSecurityInput is not sanitized82
Category
Security
Occurrences
82
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES[&#039;csv&#039;][&#039;tmp_name&#039;]

WARNINGSecurityMissing nonce verification34
Category
Security
Occurrences
34
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInterpolated SQL is not prepared29
Category
Security
Occurrences
29
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $answers_orderby at \t\tWHERE question_id={$ques-&gt;ID} ORDER BY $answers_orderby&quot;

ERRORI18nUnordered Placeholders Text19
Category
I18n
Occurrences
19
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d, %3$d", but got "%d, %d, %d" in '%d correct, %d wrong, and %d unanswered'.

WARNINGMaintainabilitySchema Change18
Category
Maintainability
Occurrences
18
Severity
warning

Sample message

Attempting a database schema change is discouraged.

ERRORMaintainabilityMissing direct file access protection16
Category
Maintainability
Occurrences
16
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

ERRORSecurityDatabase parameter is not escaped15
Category
Security
Occurrences
15
Severity
error

Sample message

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

ERRORMaintainabilitydate date10
Category
Maintainability
Occurrences
10
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 validated or sanitized9
Category
Security
Occurrences
9
Severity
warning

Sample message

Detected usage of a non-sanitized, non-validated input variable _GET: &quot;$_GET[dn]%&quot;

WARNINGSecurityUnfinished Prepare4
Category
Security
Occurrences
4
Severity
warning

Sample message

Replacement variables found, but no valid placeholders found in the query.

WARNINGMaintainabilityMissing Version3
Category
Maintainability
Occurrences
3
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 Footer3
Category
Maintainability
Occurrences
3
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.

WARNINGSecurityDatabase parameter is not escaped2
Category
Security
Occurrences
2
Severity
warning

Sample message

Unescaped parameter $join_sql used in $wpdb-&gt;get_results()\n$join_sql assigned unsafely at line 164.

WARNINGMaintainabilityMixed line endings1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

File has mixed line endings; this may cause incorrect results

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.

Score History

First score snapshot

v3.4.7

27

Latest

Findings
2,103
Errors
1,089
Warnings
1,014
Check
2.0.0

Related Plugins

100
Favicon Rotator

20k+ active installs

99
99
Responsive Navigation Block

1k+ active installs

99