CSS & JavaScript Toolbox

Add CSS, JavaScript, PHP and HTML code snippets to your site. For AI-powered snippets, get our free plugin here: wpsnippets.ai

v12.0.6wipeoutmediaUpdated Added 10k+ installs94% rating
25
Score
155
Errors
617
Warnings
+0
Change

Category Scores

Security0
Repo83
Performance96
Maintainability17

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

772 findings

Maintainability

428

14 issue groups

Security

328

11 issue groups

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "CJTAccessPoint".322
Category
Maintainability
Occurrences
322
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "CJTAccessPoint".

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

Sample message

Processing form data without nonce verification.

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<div class='$noticeClasses' style='font-size:14px;font-weight:bold;margin-top: 20px;'>\n'.58
Category
Security
Occurrences
58
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<div class='$noticeClasses' style='font-size:14px;font-weight:bold;margin-top: 20px;'>\n'.

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

Sample message

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

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;51
Category
Maintainability
Occurrences
51
Severity
error

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET[$name] not unslashed before sanitization. Use wp_unslash() or similar49
Category
Security
Occurrences
49
Severity
warning

Sample message

$_GET[$name] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_FILES[&#039;fileToUpload&#039;]47
Category
Security
Occurrences
47
Severity
warning

Sample message

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

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

Sample message

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

WARNINGMaintainabilityDynamic hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$action&quot;.10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed interfaceInterfaces declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;CJTEEISubject&quot;.9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

Interfaces declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;CJTEEISubject&quot;.

Show 15 more
ERRORSecurityException output is not escaped9
Category
Security
Occurrences
9
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Config: {$itemName} doesn't exists in {$configName}!!!"'.

WARNINGMaintainabilityNon-prefixed global variable6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

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

ERRORSecurityDatabase parameter is not escaped5
Category
Security
Occurrences
5
Severity
error

Sample message

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

WARNINGMaintainabilityDirect Query4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log print r4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

print_r() found. Debug code should not normally be used in production.

WARNINGSecurityMissing nonce verification4
Category
Security
Occurrences
4
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityDeprecated parameter: get_terms parameter 24
Category
Maintainability
Occurrences
4
Severity
error

Sample message

The parameter "$args" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.

WARNINGMaintainabilityMissing Version4
Category
Maintainability
Occurrences
4
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.

WARNINGMaintainabilityNon-prefixed function3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGSecurityInput is not validated or sanitized3
Category
Security
Occurrences
3
Severity
warning

Sample message

Detected usage of a non-sanitized, non-validated input variable _REQUEST: &quot;wp_ajax_{$this-&gt;pageId}_{$_REQUEST[&#039;CJTAjaxAction&#039;]}&quot;

ERRORMaintainabilityfile system operations mkdir3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: mkdir().

ERRORMaintainabilityForbidden PHP function found2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

The use of function create_function() is forbidden

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;admin_print_scripts&quot;.

WARNINGSecuritywp redirect wp redirect2
Category
Security
Occurrences
2
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the &quot;allowed_redirect_hosts&quot; 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.

External Connections

Not analyzed yet.

Score History

First score snapshot

v12.0.6

25

Latest

Findings
772
Errors
155
Warnings
617
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins