WP125

Easy management of 125x125 ads on your blog. Ads can be run for a specified number of days, and will automatically be taken down. Track clicks too.

v1.5.5redwallhpUpdated Added 3k+ installs80% rating
31
Score
178
Errors
184
Warnings
+0
Change

Category Scores

Security0
Repo83
Performance100
Maintainability45

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

362 findings

Security

248

12 issue groups

Maintainability

106

13 issue groups

ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.56
Category
Security
Occurrences
56
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 '$after_title'.54
Category
Security
Occurrences
54
Severity
error

Sample message

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

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_GET['deletead']. Check that the array index exists before using it.43
Category
Security
Occurrences
43
Severity
warning

Sample message

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

WARNINGSecurityMissing Unslash$_GET['adclick'] not unslashed before sanitization. Use wp_unslash() or similar29
Category
Security
Occurrences
29
Severity
warning

Sample message

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

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

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wpFunction "get_site_url()" requires WordPress 3.0.0, but your plugin minimum supported version is WordPress 2.8.0.22
Category
Maintainability
Occurrences
22
Severity
error

Sample message

Function "get_site_url()" requires WordPress 3.0.0, but your plugin minimum supported version is WordPress 2.8.0.

WARNINGSecurityInterpolated Not PreparedUse placeholders and $wpdb->prepare(); found interpolated variable $adtable_name at "DELETE FROM $adtable_name WHERE id=%d"19
Category
Security
Occurrences
19
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $adtable_name at "DELETE FROM $adtable_name WHERE id=%d"

ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.19
Category
Maintainability
Occurrences
19
Severity
error

Sample message

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

WARNINGSecurityUnescaped DBParameterUnescaped parameter $adtable_name used in $wpdb->get_results()\n$adtable_name assigned unsafely at line 108.14
Category
Security
Occurrences
14
Severity
warning

Sample message

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

Show 15 more
WARNINGSecurityInput Not Sanitized9
Category
Security
Occurrences
9
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['adclick']

ERRORSecurityNot Prepared7
Category
Security
Occurrences
7
Severity
error

Sample message

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

ERRORSecurityUnescaped DBParameter6
Category
Security
Occurrences
6
Severity
error

Sample message

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

WARNINGSecurityRecommended5
Category
Security
Occurrences
5
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityUsing FILE 5
Category
Security
Occurrences
5
Severity
warning

Sample message

Using __FILE__ for menu slugs risks exposing filesystem structure.

WARNINGMaintainabilityNon Prefixed Variable Found4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

ERRORMaintainabilitymissing direct file access protection4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

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

WARNINGMaintainabilityNon Prefixed Constant Found3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGMaintainabilitySchema Change2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGMaintainabilityNon Prefixed Function Found2
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: "sendExpirationEmail".

ERRORMaintainabilityrand seeding srand2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

srand() is discouraged. Rand seeding is not necessary when using the wp_rand() function (as you should).

WARNINGMaintainabilitytrademarked term2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "WP125" - contains the restricted term "wp" which cannot be used at all in your plugin name.

ERRORMaintainabilityOffloaded Content1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.

WARNINGMaintainabilityFound1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Short URL detected (tinyurl.com). Use full URLs instead of URL shorteners.

WARNINGSecurityMissing1
Category
Security
Occurrences
1
Severity
warning

Sample message

Processing form data without nonce verification.

Score History

First score snapshot

v1.5.5

31

Latest

Findings
362
Errors
178
Warnings
184
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