Darklup – Enhanced WordPress Dark Mode, Dark Theme, Night Mode & Accessibility Plugin

Experience Darklup — Your WordPress ally for dark mode, dark themes, night mode and accessibility. Switch to an eye-friendly more inclusive web experi …

v4.0.0DarklupUpdated Added 1k+ installs88% rating
28
Score
639
Errors
85
Warnings
+0
Change

Category Scores

Security0
Repo79
Performance100
Maintainability30

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

724 findings

I18n

517

4 issue groups

Maintainability

102

15 issue groups

Security

93

6 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'darklup-lite-wp-dark-mode' but got "darklup-lite".505
Category
I18n
Occurrences
505
Severity
error

Sample message

Mismatched text domain. Expected 'darklup-lite-wp-dark-mode' but got "darklup-lite".

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

Sample message

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

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

Sample message

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

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

Sample message

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

WARNINGMaintainabilityMissing VersionResource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.

ERRORI18nNo Empty StringsThe $text text string should have translatable content. Found: ''7
Category
I18n
Occurrences
7
Severity
error

Sample message

The $text text string should have translatable content. Found: ''

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

Sample message

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

WARNINGMaintainabilityDynamic hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$this->client->slug . '_tracker_data'".4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$this->client->slug . '_tracker_data'".

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $meta[0]4
Category
I18n
Occurrences
4
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $meta[0]

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

Sample message

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

Show 15 more
WARNINGMaintainabilityNon-prefixed function3
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: "callback_recommended_plugin".

ERRORMaintainabilitystrip tags strip tags2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

WARNINGMaintainabilityNot In Footer2
Category
Maintainability
Occurrences
2
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.

WARNINGMaintainabilitytrademarked term2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "Darklup - Enhanced WordPress Dark Mode, Dark Theme, Night Mode & Accessibility Plugin" - contains the restricted term "plugin" which cannot be used at all in your plugin name.

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

WARNINGI18nDiscouraged text-domain loading1
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.

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.

ERRORSecuritySetting is missing a sanitization callback1
Category
Security
Occurrences
1
Severity
error

Sample message

Sanitization missing for register_setting().

WARNINGMaintainabilityDirect Query1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

ERRORMaintainabilitytimezone change date default timezone set1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Using date_default_timezone_set() and similar isn't allowed, instead use WP internal timezone support.

WARNINGSecurityMissing nonce verification1
Category
Security
Occurrences
1
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityNonce verification recommended1
Category
Security
Occurrences
1
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitized1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['data']

WARNINGSecurityInput is not validated1
Category
Security
Occurrences
1
Severity
warning

Sample message

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

External Connections

Potential connections found in static code analysis.

15 domains

Outbound calls

84

External assets

1

Incoming endpoints

7

Notable Domains

appsero.com3 · outbound
wpcommerz.com3 · outbound
cdnjs.com2 · outbound
api.appsero.com1 · outbound
chartjs.org1 · outbound
facebook.com1 · outbound

Platform / Reference Domains

w3.org39 · platform/reference
wordpress.org6 · platform/reference
github.com3 · platform/reference
developer.wordpress.org1 · platform/reference
gnu.org1 · platform/reference

External Asset Domains

darklup.com21 · asset + outbound

Incoming Endpoints

wp_ajax_nopriv_darkluplite_save_admin_settingspublic

wp_ajax

wp_ajax_nopriv_dismiss_darkluplite_offer_noticepublic

wp_ajax

Admin AJAX endpoints5
wp_ajax_appsero_refresh_license_authenticated

wp_ajax

wp_ajax_darklup_already_reviewedauthenticated

wp_ajax

wp_ajax_darklup_review_maybe_laterauthenticated

wp_ajax

wp_ajax_darkluplite_save_admin_settingsauthenticated

wp_ajax

wp_ajax_dismiss_darkluplite_offer_noticeauthenticated

wp_ajax

Score History

First score snapshot

v4.0.0

28

Latest

Findings
724
Errors
639
Warnings
85
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins