Best WordPress dark mode plugin to ready your site for the night. Multiple floating switch to choose between night mode and normal mode.
Prioritized issue groups from the latest Plugin Check scan
Security
77
5 issue groups
Maintainability
43
8 issue groups
Repo Compliance
2
2 issue groups
Sample message
$_REQUEST['alternative_dark_mode_switch'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$floating_switch_position".
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of a non-sanitized input variable: $_REQUEST['darkmysite_nonce']
Sample message
rand() is discouraged. Use the far less predictable wp_rand() instead.
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.
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.
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "active_plugins".
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'wp_create_nonce'.
Sample message
Detected usage of a possibly undefined superglobal array index: $_SERVER["HTTP_USER_AGENT"]. Check that the array index exists before using it.
Sample message
Plugin name "DarkMySite - Advanced Dark Mode Plugin for WordPress" is different from the name declared in plugin header "DarkMySite".
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.
Sample message
The "Domain Path" header in the plugin file must point to an existing folder. Found: "languages"
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "DarkMySite - Advanced Dark Mode Plugin for WordPress" - contains the restricted term "plugin" which cannot be used at all in your plugin name.
Potential connections found in static code analysis.
Outbound calls
6
External assets
0
Incoming endpoints
1
No external asset domains detected.
No public endpoints detected.
wp_ajax
First score snapshot
v1.2.9
46
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 46 | 122 | 22 | 100 | v1.2.9 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.