Redirection

Redirection

v1.3.0InisevUpdated Added 100k+ installs100% rating100% support resolved
23
Score
523
Errors
457
Warnings
+0
Change

Category Scores

Security0
Repo89
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

980 findings

Security

520

12 issue groups

Maintainability

301

10 issue groups

I18n

130

3 issue groups

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$LMWIFStatus".179
Category
Maintainability
Occurrences
179
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$LMWIFStatus".

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

Sample message

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

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"{$log_request_code} => {$log_response_code}"'.137
Category
Security
Occurrences
137
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"{$log_request_code} => {$log_response_code}"'.

WARNINGSecurityMissing Unslash$_COOKIE["ir_active_tab"] not unslashed before sanitization. Use wp_unslash() or similar61
Category
Security
Occurrences
61
Severity
warning

Sample message

$_COOKIE["ir_active_tab"] not unslashed before sanitization. Use wp_unslash() or similar

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().59
Category
I18n
Occurrences
59
Severity
error

Sample message

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

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $attributesStr58
Category
I18n
Occurrences
58
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $attributesStr

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.40
Category
Maintainability
Occurrences
40
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_FILES["_file"]39
Category
Security
Occurrences
39
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES["_file"]

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().36
Category
Maintainability
Occurrences
36
Severity
warning

Sample message

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

ERRORSecurityNot PreparedUse placeholders and $wpdb->prepare(); found $logCode29
Category
Security
Occurrences
29
Severity
error

Sample message

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

Show 15 more
ERRORSecurityUnescaped DBParameter22
Category
Security
Occurrences
22
Severity
error

Sample message

Unescaped parameter $sql used in $wpdb->get_col()\n$sql assigned unsafely at line 405.

WARNINGSecurityMissing17
Category
Security
Occurrences
17
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInterpolated Not Prepared14
Category
Security
Occurrences
14
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $idsStr at "UPDATE `$this->tblRedirects` SET `status` = %d WHERE `id` IN($idsStr)"

WARNINGSecurityInput Not Validated14
Category
Security
Occurrences
14
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_GET['page']. Check that the array index exists before using it.

ERRORI18nMissing Translators Comment13
Category
I18n
Occurrences
13
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.

ERRORMaintainabilitymissing direct file access protection12
Category
Maintainability
Occurrences
12
Severity
error

Sample message

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

WARNINGSecurityRecommended9
Category
Security
Occurrences
9
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityslow db query meta value8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

Detected usage of meta_value, possible slow query.

WARNINGMaintainabilityNot In Footer7
Category
Maintainability
Occurrences
7
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.

WARNINGSecurityUnescaped DBParameter6
Category
Security
Occurrences
6
Severity
warning

Sample message

Unescaped parameter $this->tblRedirectLogs used in $wpdb->get_var()\n$redirect_id used without escaping.

WARNINGMaintainabilityslow db query meta key6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

ERRORMaintainabilityparse url parse url5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.

WARNINGMaintainabilitySchema Change4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGMaintainabilityNon Prefixed Constant Found4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "IRB_H_ASSETS_LOADED".

WARNINGSecuritywp redirect wp redirect4
Category
Security
Occurrences
4
Severity
warning

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.

Score History

First score snapshot

v1.3.0

23

Latest

Findings
980
Errors
523
Warnings
457
Check
2.0.0

Related Plugins