Does Add Code to Head work with WordPress 6.7.2 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: -200 bytes
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.7.2 |
---|---|
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=ed34ceba9c |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.290 s |
Memory usage | 3.51 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.142 s |
Memory usage | 3.5 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.195 s |
Memory usage | 3.41 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.334 s | 0.302 s | -0.032 s | 3.48 MiB | 3.49 MiB | + 12.81 KiB |
/wp-admin/edit.php | 0.197 s | 0.181 s | -0.016 s | 3.54 MiB | 3.56 MiB | + 12.81 KiB |
/wp-admin/post-new.php | 0.776 s | 0.626 s | -0.150 s | 5.93 MiB | 5.94 MiB | + 16.44 KiB |
/wp-admin/upload.php | 0.558 s | 0.310 s | -0.248 s | 3.5 MiB | 3.49 MiB | - 4.59 KiB |
/wp-admin/options-writing.php | 0.200 s | 0.188 s | -0.012 s | 3.47 MiB | 3.47 MiB | - 616 bytes |
/wp-admin/media-new.php | 0.337 s | 0.402 s | +0.065 s | 3.46 MiB | 3.47 MiB | + 7.59 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.191 s | 0.254 s | +0.063 s | 3.48 MiB | 3.49 MiB | + 18.27 KiB |
/wp-admin/post-new.php?post_type=page | 0.560 s | 0.603 s | +0.043 s | 5.92 MiB | 5.93 MiB | + 11.97 KiB |
/wp-admin/options-discussion.php | 0.269 s | 0.233 s | -0.036 s | 3.48 MiB | 3.47 MiB | - 4.1 KiB |
/wp-admin/edit-comments.php | 0.196 s | 0.201 s | +0.005 s | 3.5 MiB | 3.49 MiB | - 4.6 KiB |
/ | 0.304 s | 0.204 s | -0.100 s | 3.48 MiB | 3.41 MiB | - 68.14 KiB |
Average | 0.357 s | 0.319 s | -0.038 s | 3.93 MiB | 3.93 MiB | - 200 bytes |
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 | 57.6% | 87 | 61 | 2 | |
Markdown | 42.4% | 64 | 0 | 1 | |
Total | 151 | 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.
[13-Feb-2025 07:43:28 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
[13-Feb-2025 07:43:29 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
[13-Feb-2025 07:43:36 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