WP AdCenter – Ad Manager & Adsense Ads

Manage AdSense, Amazon Ads, Media.net, banner ads, sticky widgets, AMP ads, DFP, tracking, header and footer code, location-specific ads, random ads & …

v2.6.1WPekaUpdated Added 1k+ installs88% rating
76
Score
5
Errors
71
Warnings
+0
Change

Category Scores

Security70
Repo88
Performance100
Maintainability69

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

76 findings

Maintainability

65

12 issue groups

Security

7

4 issue groups

Repo Compliance

3

3 issue groups

I18n

1

1 issue group

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

Sample message

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

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "before_returning_single_ad".10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "before_returning_single_ad".

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$account".8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

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

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable $placeholders at "SELECT * FROM `$table_ads_statistics` WHERE ad_date BETWEEN %s AND %s AND ad_id IN ($placeholders)"4
Category
Security
Occurrences
4
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $placeholders at "SELECT * FROM `$table_ads_statistics` WHERE ad_date BETWEEN %s AND %s AND ad_id IN ($placeholders)"

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_wpadcenter".3
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: "activate_wpadcenter".

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

Sample message

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

WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "WP AdCenter - Ad Manager & Adsense Ads" - contains the restricted term "wp" which cannot be used at all in your plugin name.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "WP AdCenter - Ad Manager & Adsense Ads" - contains the restricted term "wp" which cannot be used at all in your plugin name.

WARNINGMaintainabilityNon-prefixed namespaceNamespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "Wpeka\Adcenter".2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Namespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "Wpeka\Adcenter".

WARNINGI18nDiscouraged text-domain loadingload_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

Show 10 more
WARNINGSecurityReplacements Wrong Number1
Category
Security
Occurrences
1
Severity
warning

Sample message

Incorrect number of replacements passed to $wpdb->prepare(). Found 1 replacement parameters, expected 2.

WARNINGSecuritywp redirect wp redirect1
Category
Security
Occurrences
1
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.

WARNINGSecurityInput is not sanitized1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST[$key . '_field']

ERRORMaintainabilitylibrary core files1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Library files that are already in the WordPress core are not permitted.

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "WP AdCenter - Ad Manager & Adsense Ads" is different from the name declared in plugin header "WPAdCenter".

WARNINGMaintainabilitymissing composer json file1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The "/vendor" directory using composer exists, but "composer.json" file is missing.

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.8 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

WARNINGRepo Compliancereadme parser warnings too many tags1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

WARNINGRepo Compliancereadme parser warnings trimmed short description1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Short Description" section is too long and was truncated. A maximum of 150 characters is supported.

WARNINGMaintainabilityupgrade notice limit1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The upgrade notice for "1.0.3" exceeds the limit of 300 characters.

External Connections

Potential connections found in static code analysis.

98 domains

Outbound calls

275

External assets

2

Incoming endpoints

23

Notable Domains

club.wpeka.com19 · outbound
vuejs.org15 · outbound
wpadcenter.com13 · outbound
momentjs.com9 · outbound
en.wikipedia.org7 · outbound

Platform / Reference Domains

w3.org47 · platform/reference
github.com32 · platform/reference
wordpress.org5 · platform/reference
opensource.org1 · platform/reference

External Asset Domains

Incoming Endpoints

wp_ajax_nopriv_set_clickspublic

wp_ajax

Admin AJAX endpoints22
admin_post_export_csvauthenticated

admin_post

wp_ajax_adsense_confirm_codeauthenticated

wp_ajax

wp_ajax_adsense_load_adcodeauthenticated

wp_ajax

wp_ajax_adsense_remove_authenticationauthenticated

wp_ajax

wp_ajax_check_ads_txt_problemsauthenticated

wp_ajax

wp_ajax_check_ads_txt_replaceauthenticated

wp_ajax

wp_ajax_get_adgroupsauthenticated

wp_ajax

wp_ajax_get_adsauthenticated

wp_ajax

wp_ajax_get_placementsauthenticated

wp_ajax

wp_ajax_get_rolesauthenticated

wp_ajax

wp_ajax_get_testsauthenticated

wp_ajax

wp_ajax_save_settingsauthenticated

wp_ajax

10 more hidden

Score History

First score snapshot

v2.6.1

76

Latest

Findings
76
Errors
5
Warnings
71
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins

HBAgency

9k+ active installs

98
Snapchat for WooCommerce

60k+ active installs

98
Reddit for WooCommerce

60k+ active installs

97