AdRotate Banner Manager

Easily manage, and schedule ads on your WordPress site with AdRotate. Support for Google AdSense, Amazon, and custom banners. Start monetizing today!

v5.17.7ArnanUpdated Added 20k+ installs86% rating67% support resolved
25
Score
1,365
Errors
846
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

2,211 findings

Security

1,577

11 issue groups

Maintainability

607

12 issue groups

I18n

6

2 issue groups

ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.787
Category
Security
Occurrences
787
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 '"<option value=\"$option\""'.416
Category
Security
Occurrences
416
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<option value=\"$option\""'.

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$active&quot;.198
Category
Maintainability
Occurrences
198
Severity
warning

Sample message

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

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

Sample message

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

WARNINGSecurityMissing Unslash$_GET[&#039;adrotate-nonce&#039;] not unslashed before sanitization. Use wp_unslash() or similar83
Category
Security
Occurrences
83
Severity
warning

Sample message

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

WARNINGSecurityInterpolated Not PreparedUse placeholders and $wpdb-&gt;prepare(); found interpolated variable $column at &quot;ALTER TABLE $table_name DROP $column;&quot;71
Category
Security
Occurrences
71
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $column at &quot;ALTER TABLE $table_name DROP $column;&quot;

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_FILES[&#039;adrotate_image&#039;][&#039;tmp_name&#039;]61
Category
Security
Occurrences
61
Severity
warning

Sample message

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

ERRORSecurityUnescaped DBParameterUnescaped parameter $active_ids used in $wpdb->get_var()\n$active_ids assigned unsafely at line 233.47
Category
Security
Occurrences
47
Severity
error

Sample message

Unescaped parameter $active_ids used in $wpdb->get_var()\n$active_ids assigned unsafely at line 233.

WARNINGSecurityRecommendedProcessing form data without nonce verification.46
Category
Security
Occurrences
46
Severity
warning

Sample message

Processing form data without nonce verification.

Show 15 more
ERRORMaintainabilitymissing direct file access protection33
Category
Maintainability
Occurrences
33
Severity
error

Sample message

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

WARNINGSecurityInput Not Validated28
Category
Security
Occurrences
28
Severity
warning

Sample message

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

ERRORSecurityNot Prepared20
Category
Security
Occurrences
20
Severity
error

Sample message

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

ERRORMaintainabilitydate date18
Category
Maintainability
Occurrences
18
Severity
error

Sample message

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

WARNINGMaintainabilitySchema Change17
Category
Maintainability
Occurrences
17
Severity
warning

Sample message

Attempting a database schema change is discouraged.

ERRORMaintainabilitystrip tags strip tags13
Category
Maintainability
Occurrences
13
Severity
error

Sample message

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

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.

WARNINGSecurityUnescaped DBParameter9
Category
Security
Occurrences
9
Severity
warning

Sample message

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

WARNINGSecurityMissing9
Category
Security
Occurrences
9
Severity
warning

Sample message

Processing form data without nonce verification.

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.

WARNINGMaintainabilityNon Prefixed Constant Found6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;DONOTCACHEDB&quot;.

ERRORMaintainabilityfile system operations mkdir5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

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

ERRORMaintainabilityrand rand3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

rand() is discouraged. Use the far less predictable wp_rand() instead.

ERRORI18nMissing Singular Placeholder3
Category
I18n
Occurrences
3
Severity
error

Sample message

Missing singular placeholder, needed for some languages. See https://codex.wordpress.org/I18n_for_WordPress_Developers#Plurals

ERRORI18nMissing Translators Comment3
Category
I18n
Occurrences
3
Severity
error

Sample message

A function call to _n() 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.

Score History

First score snapshot

v5.17.7

25

Latest

Findings
2,211
Errors
1,365
Warnings
846
Check
2.0.0

Related Plugins

HBAgency

9k+ active installs

98
Snapchat for WooCommerce

60k+ active installs

98
Reddit for WooCommerce

60k+ active installs

97
Quick Adsense

20k+ active installs

93
Ads.txt Manager

100k+ active installs

92