WP Dark Mode 4.1.0

Does WP Dark Mode work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 377.47 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.064 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/wp-dark-mode/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 9

WP Dark Mode Settings ‹ Test site — WordPress

Page screenshot: WP Dark Mode Settings ‹ Test site — WordPress
URL /wp-admin/admin.php?page=wp-dark-mode-settings
Requested URL /wp-admin/plugins.php?action=activate&plugin=wp-dark-mode%2Fplugin.php&plugin_status=all&paged=1&s&_wpnonce=8974e0b563
Aspect after-activation
HTTP status 200
Load time 1.408 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

WP Dark Mode

Page screenshot: WP Dark Mode
URL /wp-admin/admin.php?page=wp-dark-mode-settings
Aspect menu-item
HTTP status 200
Load time 0.482 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

WP Dark Mode → Get Started

Page screenshot: WP Dark Mode → Get Started
URL /wp-admin/admin.php?page=wp-dark-mode-get-started
Aspect menu-item
HTTP status 200
Load time 2.044 s
Memory usage 3.4 MiB
JS errors None
Resource errors None

WP Dark Mode → Social Share New

Page screenshot: WP Dark Mode → Social Share 
				
				 New
URL /wp-admin/admin.php?page=wp-dark-mode-social-share
Aspect menu-item
HTTP status 200
Load time 1.170 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

WP Dark Mode → Tools

Page screenshot: WP Dark Mode → Tools
URL /wp-admin/admin.php?page=wp-dark-mode-tools
Aspect menu-item
HTTP status 200
Load time 0.297 s
Memory usage 3.4 MiB
JS errors None
Resource errors None

WP Dark Mode → Recommended Plugins

Page screenshot: WP Dark Mode → Recommended Plugins
URL /wp-admin/admin.php?page=wp-dark-mode-recommended-plugins
Aspect menu-item
HTTP status 200
Load time 1.091 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

WP Dark Mode → Upgrade Now

Page screenshot: WP Dark Mode → Upgrade Now
URL /wp-admin/
Aspect menu-item
HTTP status 200
Load time 0.541 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.284 s
Memory usage 3.07 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.502 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.558 s0.392 s-0.166 s3.05 MiB3.44 MiB+ 408.68 KiB
/wp-admin/edit.php0.166 s0.334 s+0.168 s3.07 MiB3.47 MiB+ 403.17 KiB
/wp-admin/post-new.php0.703 s0.974 s+0.271 s4.97 MiB5.34 MiB+ 381.14 KiB
/wp-admin/upload.php0.737 s0.469 s-0.268 s2.99 MiB3.37 MiB+ 391.77 KiB
/wp-admin/options-writing.php0.155 s0.265 s+0.110 s2.99 MiB3.38 MiB+ 398.39 KiB
/wp-admin/media-new.php0.249 s0.302 s+0.053 s2.97 MiB3.38 MiB+ 417.99 KiB
/wp-admin/edit-tags.php?taxonomy=category0.162 s0.311 s+0.149 s2.98 MiB3.4 MiB+ 425.84 KiB
/wp-admin/post-new.php?post_type=page0.587 s0.655 s+0.068 s4.96 MiB5.33 MiB+ 376.13 KiB
/wp-admin/options-discussion.php0.190 s0.422 s+0.232 s2.97 MiB3.38 MiB+ 412.23 KiB
/wp-admin/edit-comments.php0.185 s0.330 s+0.145 s3 MiB3.4 MiB+ 406.23 KiB
/0.275 s0.222 s-0.053 s2.94 MiB3.07 MiB+ 130.64 KiB
Average 0.361 s0.425 s+0.064 s3.35 MiB3.72 MiB+ 377.47 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
CSS
Language % Lines of code Comment lines Files
PHP75.3%9,1823,27767
CSS11.2%1,3603617
SVG7.9%961046
Markdown3.7%44602
XML1.2%1451072
JavaScript0.6%6802
JSON0.2%2501
Total 12,187 3,420 137

PHP Code Analysis | More results »

Lines of code 7,648
Total complexity 969
Median class complexity 30.0
Median method complexity 2.0
Most complex class Appsero\Insights
Most complex function WP_Dark_Mode_Settings::settings_fields()
Classes 23
Methods 300
Functions 18

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 1

Options wp_options 36

Meta Boxes

{
    "dashboard": {
        "wp_dark_mode": {
            "title": "WP Dark Mode Usage",
            "context": "normal"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide WP Dark Mode Admin Menus and Widgets