Chained Quiz

Create a quiz where the next question depends on the answer to the previous question. Final quiz results depend on the amount of collected points.

v1.4.0.1BobUpdated Added 1k+ installs98% rating
29
Score
1,132
Errors
721
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability22

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,853 findings

Security

1,101

12 issue groups

I18n

396

4 issue groups

Maintainability

351

9 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'chained-quiz' but got 'chained'.377
Category
I18n
Occurrences
377
Severity
error

Sample message

Mismatched text domain. Expected 'chained-quiz' but got 'chained'.

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

Sample message

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

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' />"'.256
Category
Security
Occurrences
256
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' />"'.

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

Sample message

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

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

Sample message

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

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_COOKIE[&#039;chained_completion_id&#039;.$quiz-&gt;id] not unslashed before sanitization. Use wp_unslash() or similar94
Category
Security
Occurrences
94
Severity
warning

Sample message

$_COOKIE[&#039;chained_completion_id&#039;.$quiz-&gt;id] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_COOKIE[&#039;chained_completion_id&#039;.$quiz-&gt;id]65
Category
Security
Occurrences
65
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE[&#039;chained_completion_id&#039;.$quiz-&gt;id]

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

Sample message

Processing form data without nonce verification.

Show 15 more
WARNINGSecurityMissing nonce verification53
Category
Security
Occurrences
53
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon-prefixed global variable46
Category
Maintainability
Occurrences
46
Severity
warning

Sample message

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

ERRORMaintainabilityMissing direct file access protection18
Category
Maintainability
Occurrences
18
Severity
error

Sample message

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

ERRORI18nMissing Translators Comment15
Category
I18n
Occurrences
15
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.

ERRORMaintainabilitystrip tags strip tags10
Category
Maintainability
Occurrences
10
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

ERRORSecurityException output is not escaped8
Category
Security
Occurrences
8
Severity
error

Sample message

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

WARNINGMaintainabilitySchema Change7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Attempting a database schema change is discouraged.

ERRORSecurityDatabase parameter is not escaped6
Category
Security
Occurrences
6
Severity
error

Sample message

Unescaped parameter $aids used in $wpdb->get_results()\n$aids assigned unsafely at line 141.

WARNINGSecurityInterpolated SQL is not prepared5
Category
Security
Occurrences
5
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $dir at \t\t\tORDER BY $ob $dir $limit_sql&quot;

ERRORMaintainabilitydate date2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

WARNINGMaintainabilityNon-prefixed function2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;kiboko_define_newline&quot;.

WARNINGMaintainabilityNon-prefixed hook name2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;the_content&quot;.

ERRORI18nMissing Arg Domain2
Category
I18n
Occurrences
2
Severity
error

Sample message

Missing $domain parameter in function call to __().

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 'Export files are currently delimited by "%s". You can change the delimiter at <a href="%s">Chained Quiz Settings</a> page.'.

WARNINGSecurityDatabase parameter is not escaped1
Category
Security
Occurrences
1
Severity
warning

Sample message

Unescaped parameter $table used in $wpdb-&gt;get_results()

External Connections

Not analyzed yet.

Score History

First score snapshot

v1.4.0.1

29

Latest

Findings
1,853
Errors
1,132
Warnings
721
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

29 nodes

Related Plugins