Disclaimer Popup

Disclaimer Popup is a free plugin that will help you to quickly create a disclaimer popup complete with texts and images

v1.1.3marcodedoUpdated Added 1k+ installs76% rating
37
Score
313
Errors
53
Warnings
+0
Change

Category Scores

Security12
Repo91
Performance100
Maintainability36

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

366 findings

I18n

255

2 issue groups

Maintainability

81

17 issue groups

Security

23

6 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'disclaimer-popup' but got 'mb-settings-page'.254
Category
I18n
Occurrences
254
Severity
error

Sample message

Mismatched text domain. Expected 'disclaimer-popup' but got 'mb-settings-page'.

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

Sample message

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

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$agreeText'.18
Category
Security
Occurrences
18
Severity
error

Sample message

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

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

Sample message

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

WARNINGMaintainabilityNon Prefixed Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_wp_disclaimer_popup".9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_wp_disclaimer_popup".

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "mb_settings_page_load".7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

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

WARNINGMaintainabilityNon Prefixed Namespace FoundNamespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "MetaBox\Support".6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

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

WARNINGMaintainabilityNo Code FoundNo PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.

ERRORMaintainabilityEcho FoundShort PHP opening tag used with echo; expected "<?php echo $page_title ..." but found "<?= $page_title ..."3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wpFunction "wp_cache_get_last_changed()" requires WordPress 4.7.0, but your plugin minimum supported version is WordPress 4.5.0.3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

Function "wp_cache_get_last_changed()" requires WordPress 4.7.0, but your plugin minimum supported version is WordPress 4.5.0.

Show 15 more
ERRORMaintainabilityOffloaded Content2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Found call to wp_enqueue_script() with external resource. Offloading scripts to your servers or any remote service is disallowed.

WARNINGMaintainabilityDirect Query2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

WARNINGMaintainabilityNon Prefixed Class Found2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;MB_Conditional_Logic&quot;.

WARNINGMaintainabilityupdate modification detected2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Plugin Updater detected. Detected code which may be altering WordPress update routines. Detected: _site_transient_update_plugins

ERRORMaintainabilityPlugin Directory Write1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Plugin folders are deleted when upgraded. Do not save data to the plugin folder using file_put_contents(). Detected usage of function plugin_dir_path(). Use wp_upload_dir() to get the uploads directory path or save to the database instead.

ERRORSecurityUnescaped DBParameter1
Category
Security
Occurrences
1
Severity
error

Sample message

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

WARNINGSecurityInterpolated Not Prepared1
Category
Security
Occurrences
1
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $ids at &quot;UPDATE $wpdb-&gt;posts SET post_parent=%d WHERE post_parent=0 AND ID IN ($ids)&quot;

ERRORSecurityNot Prepared1
Category
Security
Occurrences
1
Severity
error

Sample message

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

WARNINGMaintainabilityDynamic Hookname Found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$filter&quot;.

WARNINGSecurityMissing1
Category
Security
Occurrences
1
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityRecommended1
Category
Security
Occurrences
1
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityunlink unlink1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

unlink() is discouraged. Use wp_delete_file() to delete a file.

WARNINGMaintainabilityGet terms Param2Found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The parameter &quot;$args&quot; at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.

ERRORI18nMissing Arg Domain1
Category
I18n
Occurrences
1
Severity
error

Sample message

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

Score History

First score snapshot

v1.1.3

37

Latest

Findings
366
Errors
313
Warnings
53
Check
2.0.0

Related Plugins

Light Modal Block

2k+ active installs

98
SearchWP Modal Search Form

5k+ active installs

91
VenoBox Lightbox

1k+ active installs

91
VK Blocks

100k+ active installs

85
Simple Post Notes

9k+ active installs

70
WP Notification Bars

10k+ active installs

67