Does Night Mode work with WordPress 6.1.1 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: -2.99 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 | 6.1.1 |
|---|---|
| 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=57291b1cf4 |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.237 s |
| Memory usage | 3 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.144 s |
| Memory usage | 2.98 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.167 s |
| Memory usage | 2.95 MiB |
| JS errors | None |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.324 s | 0.341 s | +0.017 s | 3.05 MiB | 3.05 MiB | + 7.03 KiB |
| /wp-admin/edit.php | 0.212 s | 0.310 s | +0.098 s | 3.07 MiB | 3.08 MiB | + 6.66 KiB |
| /wp-admin/post-new.php | 0.934 s | 0.908 s | -0.026 s | 4.97 MiB | 4.97 MiB | + 3.38 KiB |
| /wp-admin/upload.php | 0.872 s | 0.286 s | -0.586 s | 2.99 MiB | 2.98 MiB | - 12.91 KiB |
| /wp-admin/options-writing.php | 0.161 s | 0.147 s | -0.014 s | 2.99 MiB | 2.96 MiB | - 24.22 KiB |
| /wp-admin/media-new.php | 0.289 s | 0.186 s | -0.103 s | 2.97 MiB | 2.97 MiB | + 1.45 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.185 s | 0.184 s | -0.001 s | 2.98 MiB | 2.99 MiB | + 6.02 KiB |
| /wp-admin/post-new.php?post_type=page | 0.705 s | 0.589 s | -0.116 s | 4.96 MiB | 4.96 MiB | - 1.04 KiB |
| /wp-admin/options-discussion.php | 0.237 s | 0.308 s | +0.071 s | 2.98 MiB | 2.96 MiB | - 11.32 KiB |
| /wp-admin/edit-comments.php | 0.238 s | 0.215 s | -0.023 s | 3 MiB | 2.99 MiB | - 10.74 KiB |
| / | 0.281 s | 0.217 s | -0.064 s | 2.94 MiB | 2.95 MiB | + 2.83 KiB |
| Average | 0.403 s | 0.336 s | -0.068 s | 3.35 MiB | 3.35 MiB | - 2.99 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,259 | 164 | 2 | |
| PHP | 3.5% | 83 | 13 | 3 | |
| Total | 2,342 | 177 | 5 | ||
| Lines of code | 84 |
|---|---|
| Total complexity | 13 |
| Median class complexity | 11.0 |
| Median method complexity | 3.0 |
| Most complex class | ntmode_options |
| Most complex function | ntmode_options::ntmod_init() |
| Classes | 1 |
|---|---|
| Methods | 3 |
| Functions | 2 |
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.
[20-Nov-2022 01:26:33 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
[20-Nov-2022 01:26:33 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
[20-Nov-2022 01:26:33 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