Does Add Code to Head work with WordPress 6.9 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.38 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.9 |
|---|---|
| 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=70adcac8fd |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.299 s |
| Memory usage | 3.74 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.239 s |
| Memory usage | 3.73 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.169 s |
| Memory usage | 4.1 MiB |
| JS errors | None |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.922 s | 0.787 s | -0.135 s | 3.78 MiB | 3.79 MiB | + 10.08 KiB |
| /wp-admin/edit.php | 0.527 s | 0.378 s | -0.149 s | 3.78 MiB | 3.79 MiB | + 8.51 KiB |
| /wp-admin/post-new.php | 0.793 s | 1.226 s | +0.433 s | 6.31 MiB | 6.32 MiB | + 13.7 KiB |
| /wp-admin/upload.php | 0.463 s | 0.424 s | -0.039 s | 3.74 MiB | 3.73 MiB | - 8.9 KiB |
| /wp-admin/options-writing.php | 0.350 s | 0.294 s | -0.056 s | 3.71 MiB | 3.71 MiB | - 464 bytes |
| /wp-admin/media-new.php | 0.536 s | 0.282 s | -0.254 s | 3.7 MiB | 3.71 MiB | + 8.49 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.303 s | 0.434 s | +0.131 s | 3.71 MiB | 3.73 MiB | + 19.16 KiB |
| /wp-admin/post-new.php?post_type=page | 1.296 s | 0.745 s | -0.551 s | 6.29 MiB | 6.31 MiB | + 12.87 KiB |
| /wp-admin/options-discussion.php | 0.538 s | 0.755 s | +0.217 s | 3.71 MiB | 3.71 MiB | - 3.2 KiB |
| /wp-admin/edit-comments.php | 0.335 s | 0.426 s | +0.091 s | 3.73 MiB | 3.73 MiB | - 3.7 KiB |
| / | 0.288 s | 0.214 s | -0.074 s | 4.1 MiB | 4.1 MiB | + 2.57 KiB |
| Average | 0.577 s | 0.542 s | -0.035 s | 4.23 MiB | 4.24 MiB | + 5.38 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.
[04-Dec-2025 14:24:42 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
[04-Dec-2025 14:24:43 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
[04-Dec-2025 14:24:53 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