Does Night Mode work with WordPress 7.0 and PHP 8.1.12? A smoke test was performed on .
| 3 | PHP warnings |
| No JavaScript exceptions | |
| All test pages loaded successfully | |
| No resource errors |
Memory usage: 5.47 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.
| WordPress version | 7.0 |
|---|---|
| PHP version | 8.1.12 |
| MySQL version | 10.6.10 |
| PHP memory limit | 512M |
| Last updated | |
|---|---|
| Active installs | 60+ |
| WordPress.org page | https://wordpress.org/plugins/night-mode/ |
| Badges |
|
| URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
|---|---|
| Requested URL | /wp-admin/plugins.php?action=activate&plugin=night-mode%2Fnight-mode.php&plugin_status=all&paged=1&s&_wpnonce=b670202ced |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.561 s |
| Memory usage | 3.89 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/options-general.php?page=admin-custom-color |
|---|---|
| Aspect | menu-item |
| HTTP status | 200 |
| Load time | 0.507 s |
| Memory usage | 3.88 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.238 s |
| Memory usage | 4.23 MiB |
| JS errors | None |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.752 s | 0.556 s | -0.196 s | 3.93 MiB | 3.93 MiB | + 9.29 KiB |
| /wp-admin/edit.php | 0.583 s | 0.482 s | -0.101 s | 3.98 MiB | 3.99 MiB | + 8 KiB |
| /wp-admin/post-new.php | 2.049 s | 1.836 s | -0.213 s | 6.56 MiB | 6.59 MiB | + 33.27 KiB |
| /wp-admin/upload.php | 0.753 s | 0.686 s | -0.067 s | 3.89 MiB | 3.88 MiB | - 9.52 KiB |
| /wp-admin/options-writing.php | 0.526 s | 0.493 s | -0.033 s | 3.86 MiB | 3.86 MiB | - 5.52 KiB |
| /wp-admin/media-new.php | 0.957 s | 0.508 s | -0.449 s | 3.85 MiB | 3.86 MiB | + 2.67 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.503 s | 0.920 s | +0.417 s | 3.86 MiB | 3.87 MiB | + 7.84 KiB |
| /wp-admin/post-new.php?post_type=page | 1.422 s | 1.450 s | +0.028 s | 6.55 MiB | 6.58 MiB | + 28.8 KiB |
| /wp-admin/options-discussion.php | 0.530 s | 0.900 s | +0.370 s | 3.86 MiB | 3.86 MiB | - 9.02 KiB |
| /wp-admin/edit-comments.php | 0.520 s | 0.547 s | +0.027 s | 3.89 MiB | 3.88 MiB | - 9.52 KiB |
| / | 0.277 s | 0.186 s | -0.091 s | 4.23 MiB | 4.23 MiB | + 3.84 KiB |
| Average | 0.807 s | 0.779 s | -0.028 s | 4.41 MiB | 4.41 MiB | + 5.47 KiB |
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.
| Language | % | Lines of code | Comment lines | Files | |
|---|---|---|---|---|---|
| JavaScript | 96.5% | 2,258 | 174 | 2 | |
| PHP | 3.5% | 83 | 13 | 3 | |
| Total | 2,341 | 187 | 5 | ||
| Lines of code | 168 |
|---|---|
| Total complexity | 26 |
| Median class complexity | 11.0 |
| Median method complexity | 3.0 |
| Most complex class | ntmode_options |
| Most complex function | ntmode_options::ntmod_init() |
| Classes | 2 |
|---|---|
| Methods | 6 |
| Functions | 4 |
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.
[28-May-2026 15:49:22 UTC] PHP Warning: Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 33
[28-May-2026 15:49:22 UTC] PHP Warning: Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 37
[28-May-2026 15:49:22 UTC] PHP Warning: Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 41