Disable Admin Notices – Hide Dashboard Notifications

Disable admin notices and hide dashboard notifications from plugins, themes and core. Hide all notices, selected ones, or show them in a single line.

v1.4.5ThemeisleUpdated Added 100k+ installs94% rating100% support resolved
25
Score
465
Errors
195
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability2

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

660 findings

Security

328

8 issue groups

I18n

184

4 issue groups

Maintainability

114

13 issue groups

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'disable-admin-notices' but got "wbcr_factory_480".156
Category
I18n
Occurrences
156
Severity
error

Sample message

Mismatched text domain. Expected 'disable-admin-notices' but got "wbcr_factory_480".

ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.53
Category
Security
Occurrences
53
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

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

Sample message

Processing form data without nonce verification.

ERRORSecurityException Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Class {$class_name} is not found!"'.20
Category
Security
Occurrences
20
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Class {$class_name} is not found!"'.

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

Sample message

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

WARNINGSecurityMissingProcessing form data without nonce verification.18
Category
Security
Occurrences
18
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_GET['_wpnonce']17
Category
Security
Occurrences
17
Severity
warning

Sample message

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

WARNINGSecurityMissing Unslash$_GET['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar17
Category
Security
Occurrences
17
Severity
warning

Sample message

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

WARNINGMaintainabilityNon Prefixed Constant FoundGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "LOADING_DISABLE_ADMIN_NOTICES_AS_ADDON".16
Category
Maintainability
Occurrences
16
Severity
warning

Sample message

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

Show 15 more
ERRORI18nMissing Translators Comment14
Category
I18n
Occurrences
14
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.

WARNINGMaintainabilityNon Prefixed Function Found11
Category
Maintainability
Occurrences
11
Severity
warning

Sample message

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

WARNINGMaintainabilityNot In Footer10
Category
Maintainability
Occurrences
10
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.

WARNINGMaintainabilityDirect Query9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNon Prefixed Class Found9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

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

WARNINGMaintainabilityNo Code Found8
Category
Maintainability
Occurrences
8
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.

ERRORI18nMissing Arg Domain8
Category
I18n
Occurrences
8
Severity
error

Sample message

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

WARNINGMaintainabilityNo Caching7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

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

WARNINGI18nload plugin textdomain Found6
Category
I18n
Occurrences
6
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.

WARNINGMaintainabilityNon Prefixed Variable Found6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

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

WARNINGMaintainabilityMissing Version6
Category
Maintainability
Occurrences
6
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.

ERRORMaintainabilitydate date5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

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

ERRORMaintainabilitystrip tags strip tags5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

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

WARNINGSecurityInterpolated Not Prepared4
Category
Security
Occurrences
4
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $clause at "DELETE FROM {$wpdb->postmeta} WHERE post_id='%d' AND meta_key IN ($clause)"

ERRORMaintainabilityunlink unlink4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

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

Score History

First score snapshot

v1.4.5

25

Latest

Findings
660
Errors
465
Warnings
195
Check
2.0.0

Related Plugins

Admin Notices Manager

10k+ active installs

96
Hide Dashboard Notifications

20k+ active installs

76
Hide Admin Notices

20k+ active installs

57