Does Add Code to Head work with WordPress 6.8.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: 6.43 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.8.1 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | 3,000+ |
WordPress.org page | https://wordpress.org/plugins/add-code-to-head/ |
Badges |
|
URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=add-code-to-head%2Fadd-code-to-head.php&plugin_status=all&paged=1&s&_wpnonce=27b144a0b9 |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.243 s |
Memory usage | 3.53 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/options-general.php?page=acth_plugin |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.123 s |
Memory usage | 3.52 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.172 s |
Memory usage | 3.44 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.306 s | 0.226 s | -0.080 s | 3.51 MiB | 3.52 MiB | + 12.91 KiB |
/wp-admin/edit.php | 0.170 s | 0.172 s | +0.002 s | 3.57 MiB | 3.58 MiB | + 12.91 KiB |
/wp-admin/post-new.php | 0.677 s | 0.557 s | -0.120 s | 6.06 MiB | 6.08 MiB | + 16.54 KiB |
/wp-admin/upload.php | 0.475 s | 0.461 s | -0.014 s | 3.52 MiB | 3.52 MiB | - 4.5 KiB |
/wp-admin/options-writing.php | 0.185 s | 0.158 s | -0.027 s | 3.5 MiB | 3.5 MiB | - 520 bytes |
/wp-admin/media-new.php | 0.260 s | 0.200 s | -0.060 s | 3.49 MiB | 3.5 MiB | + 7.69 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.154 s | 0.298 s | +0.144 s | 3.5 MiB | 3.52 MiB | + 18.36 KiB |
/wp-admin/post-new.php?post_type=page | 0.556 s | 0.611 s | +0.055 s | 6.05 MiB | 6.06 MiB | + 12.06 KiB |
/wp-admin/options-discussion.php | 0.226 s | 0.217 s | -0.009 s | 3.5 MiB | 3.5 MiB | - 4.01 KiB |
/wp-admin/edit-comments.php | 0.175 s | 0.189 s | +0.014 s | 3.52 MiB | 3.52 MiB | - 4.51 KiB |
/ | 0.263 s | 0.176 s | -0.087 s | 3.43 MiB | 3.44 MiB | + 3.75 KiB |
Average | 0.313 s | 0.297 s | -0.017 s | 3.97 MiB | 3.98 MiB | + 6.43 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 | |
---|---|---|---|---|---|
PHP | 55.1% | 87 | 61 | 2 | |
Markdown | 44.9% | 71 | 0 | 1 | |
Total | 158 | 61 | 3 |
Lines of code | 65 |
---|---|
Total complexity | 9 |
Median class complexity | 9.0 |
Median method complexity | 1.0 |
Most complex class | AddCodeToHead |
Most complex function | AddCodeToHead::plugin_options_page() |
Classes | 1 |
---|---|
Methods | 8 |
Functions | 0 |
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.
[02-May-2025 05:12:41 UTC] PHP Warning: Trying to access array offset on value of type bool in /wp-content/plugins/add-code-to-head/add-code-to-head.php on line 88
[02-May-2025 05:12:41 UTC] PHP Warning: Trying to access array offset on value of type bool in /wp-content/plugins/add-code-to-head/add-code-to-head.php on line 108
[02-May-2025 05:12:48 UTC] PHP Warning: Trying to access array offset on value of type bool in /wp-content/plugins/add-code-to-head/add-code-to-head.php on line 108