WP Dark Mode 4.0.6

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

Summary

Errors
21PHP fatal errors
2PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

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 8

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=600d89ba02
Aspect after-activation
HTTP status 200
Load time 0.745 s
Memory usage N/A
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.257 s
Memory usage N/A
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 0.210 s
Memory usage N/A
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 0.224 s
Memory usage N/A
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.183 s
Memory usage N/A
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 0.172 s
Memory usage N/A
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.212 s
Memory usage N/A
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.288 s
Memory usage 3.07 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.285 s0.256 s-0.029 s3.05 MiB
/wp-admin/edit.php0.184 s0.204 s+0.020 s3.07 MiB
/wp-admin/post-new.php0.789 s0.338 s-0.451 s4.97 MiB
/wp-admin/upload.php0.545 s0.217 s-0.328 s2.99 MiB
/wp-admin/options-writing.php0.171 s0.183 s+0.012 s2.99 MiB
/wp-admin/media-new.php0.266 s0.243 s-0.023 s2.97 MiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.183 s-0.002 s2.98 MiB
/wp-admin/post-new.php?post_type=page0.622 s0.259 s-0.363 s4.96 MiB
/wp-admin/options-discussion.php0.210 s0.173 s-0.037 s2.97 MiB
/wp-admin/edit-comments.php0.200 s0.184 s-0.016 s3 MiB
/0.281 s0.218 s-0.063 s2.94 MiB3.07 MiB+ 132.05 KiB
Average 0.340 s0.223 s-0.116 s3.35 MiB3.07 MiB+ 132.05 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.4%9,1773,28467
CSS11.2%1,3583615
SVG7.9%961046
Markdown3.7%44602
XML1.2%1441072
JavaScript0.6%6802
JSON0.2%2501
Total 12,179 3,427 135

PHP Code Analysis | More results »

Lines of code 7,630
Total complexity 970
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 301
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.

No new entries found.

PHP Error Log 193 lines

[19-Feb-2023 15:40:48 UTC] PHP Deprecated:  Optional parameter $new_name declared before required parameter $old_theme is implicitly treated as a required parameter in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php on line 1044
[19-Feb-2023 15:40:48 UTC] PHP Deprecated:  Optional parameter $new_theme declared before required parameter $old_theme is implicitly treated as a required parameter in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php on line 1044
[19-Feb-2023 15:40:48 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method Appsero\Client::__trans() in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php:443
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Appsero\Insights->admin_notice()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(303): do_action()
#4 /wp-admin/plugins.php(605): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php on line 443
[19-Feb-2023 15:40:48 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method Appsero\Client::__trans() in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php:443
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Appsero\Insights->admin_notice()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(303): do_action()
#4 /wp-admin/admin.php(239): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php on line 443
[19-Feb-2023 15:40:50 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method Appsero\Client::__trans() in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php:443
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Appsero\Insights->admin_notice()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(303): do_action()
#4 /wp-admin/index.php(137): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php on line 443
[19-Feb-2023 15:40:50 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method Appsero\Client::__trans() in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php:443
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Appsero\Insights->admin_notice()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(303): do_action()
#4 /wp-admin/admin.php(239): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php on line 443
[19-Feb-2023 15:40:51 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method Appsero\Client::__trans() in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php:443
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Appsero\Insights->admin_notice()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(303): do_action()
#4 /wp-admin/admin.php(239): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php on line 443
[19-Feb-2023 15:40:52 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method Appsero\Client::__trans() in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php:443
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Appsero\Insights->admin_notice()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(303): do_action()
#4 /wp-admin/admin.php(239): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php on line 443
[19-Feb-2023 15:40:52 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method Appsero\Client::__trans() in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php:443
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Appsero\Insights->admin_notice()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(303): do_action()
#4 /wp-admin/admin.php(239): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php on line 443
[19-Feb-2023 15:40:53 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method Appsero\Client::__trans() in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php:443
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Appsero\Insights->admin_notice()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(303): do_action()
#4 /wp-admin/admin.php(239): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php on line 443
[19-Feb-2023 15:40:54 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method Appsero\Client::__trans() in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php:443
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Appsero\Insights->admin_notice()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(303): do_action()
#4 /wp-admin/index.php(137): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php on line 443
[19-Feb-2023 15:40:56 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method Appsero\Client::__trans() in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php:443
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Appsero\Insights->admin_notice()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(303): do_action()
#4 /wp-admin/index.php(137): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php on line 443
[19-Feb-2023 15:40:56 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method Appsero\Client::__trans() in /wp-content/plugins/wp-dark-mode/includes/appsero/src/Insights.php:443
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Appsero\Insights->admin_notice()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin-header.php(303): do_action()
#4 /wp-admin/edit.php(407): require_once('...')
#5 {main}

(+93 more lines)
See also: All tests for this plugin, How to Hide WP Dark Mode Admin Menus and Widgets