Popup Box – Create Countdown, Coupon, Video, Contact Form Popups

Build flexible popups and modal windows with multiple popup types, triggers, and display controls.

v6.3.1Ays ProUpdated Added 50k+ installs92% rating100% support resolved
24
Score
482
Errors
1,253
Warnings
+0
Change

Category Scores

Security0
Repo97
Performance96
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,735 findings

Maintainability

828

12 issue groups

Security

827

11 issue groups

I18n

62

2 issue groups

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

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$activePopup'.301
Category
Security
Occurrences
301
Severity
error

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET['action'] not unslashed before sanitization. Use wp_unslash() or similar240
Category
Security
Occurrences
240
Severity
warning

Sample message

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

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['filterbyType']69
Category
Security
Occurrences
69
Severity
warning

Sample message

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

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'ays-popup-box' but got 'quiz-maker'.54
Category
I18n
Occurrences
54
Severity
error

Sample message

Mismatched text domain. Expected 'ays-popup-box' but got 'quiz-maker'.

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_GET['fstatus']. Check that the array index exists before using it.46
Category
Security
Occurrences
46
Severity
warning

Sample message

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

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

Sample message

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

Show 15 more
ERRORSecurityDatabase parameter is not escaped29
Category
Security
Occurrences
29
Severity
error

Sample message

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

ERRORMaintainabilityMissing direct file access protection19
Category
Maintainability
Occurrences
19
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed class18
Category
Maintainability
Occurrences
18
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed hook name14
Category
Maintainability
Occurrences
14
Severity
warning

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wp12
Category
Maintainability
Occurrences
12
Severity
error

Sample message

Function "delete_network_option()" requires WordPress 4.4.0, but your plugin minimum supported version is WordPress 4.0.0.

WARNINGSecurityMissing nonce verification9
Category
Security
Occurrences
9
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORI18nMissing Translators Comment8
Category
I18n
Occurrences
8
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.

WARNINGSecurityDatabase parameter is not escaped6
Category
Security
Occurrences
6
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed constant6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

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

WARNINGSecuritywp redirect wp redirect6
Category
Security
Occurrences
6
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.

ERRORMaintainabilityShort PHP open tag found4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

Short PHP opening tag used with echo; expected "<?php echo $enable_pb_title_text_shadow ..." but found "<?= $enable_pb_title_text_shadow ..."

WARNINGSecurityInterpolated SQL is not prepared4
Category
Security
Occurrences
4
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $popups_table at &quot;SHOW TABLES LIKE &#039;$popups_table&#039;&quot;

WARNINGMaintainabilityslow db query meta key4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

ERRORMaintainabilitydate date4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed function4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

Score History

First score snapshot

v6.3.1

24

Latest

Findings
1,735
Errors
482
Warnings
1,253
Check
2.0.0

Related Plugins