Does Add Code to Head work with WordPress 6.8.3 and PHP 8.1.12? A smoke test was performed on .
| 4 | PHP warnings |
| No JavaScript exceptions | |
| All test pages loaded successfully | |
| No resource errors |
Memory usage: 6.85 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.3 |
|---|---|
| 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=1f18a0cdc0 |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.290 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.149 s |
| Memory usage | 3.52 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.193 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.299 s | 0.274 s | -0.025 s | 3.51 MiB | 3.52 MiB | + 12.91 KiB |
| /wp-admin/edit.php | 0.201 s | 0.181 s | -0.020 s | 3.57 MiB | 3.58 MiB | + 12.91 KiB |
| /wp-admin/post-new.php | 0.777 s | 0.637 s | -0.140 s | 6.06 MiB | 6.08 MiB | + 16.54 KiB |
| /wp-admin/upload.php | 0.711 s | 0.508 s | -0.203 s | 3.52 MiB | 3.52 MiB | - 4.5 KiB |
| /wp-admin/options-writing.php | 0.218 s | 0.186 s | -0.032 s | 3.5 MiB | 3.5 MiB | - 464 bytes |
| /wp-admin/media-new.php | 0.322 s | 0.248 s | -0.074 s | 3.49 MiB | 3.5 MiB | + 7.74 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.240 s | 0.173 s | -0.067 s | 3.5 MiB | 3.52 MiB | + 18.41 KiB |
| /wp-admin/post-new.php?post_type=page | 0.615 s | 0.645 s | +0.030 s | 6.05 MiB | 6.07 MiB | + 16.54 KiB |
| /wp-admin/options-discussion.php | 0.276 s | 0.229 s | -0.047 s | 3.5 MiB | 3.5 MiB | - 4.01 KiB |
| /wp-admin/edit-comments.php | 0.401 s | 0.174 s | -0.227 s | 3.52 MiB | 3.52 MiB | - 4.51 KiB |
| / | 0.327 s | 0.161 s | -0.166 s | 3.43 MiB | 3.44 MiB | + 3.75 KiB |
| Average | 0.399 s | 0.311 s | -0.088 s | 3.97 MiB | 3.98 MiB | + 6.85 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-Oct-2025 13:52:30 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-Oct-2025 13:52:30 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-Oct-2025 13:52:34 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-Oct-2025 13:52:38 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