CookieLegit 1.1.4

Does CookieLegit work with WordPress 6.8.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
6PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 24.97 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.

Environment
WordPress version6.8.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 30+
WordPress.org page https://wordpress.org/plugins/cookielegit/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=cookielegit%2Fcookie-legit.php&plugin_status=all&paged=1&s&_wpnonce=4984f0e4c9
Aspect after-activation
HTTP status 200
Load time 0.310 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

Cookie Legit

Page screenshot: Cookie Legit
URL /wp-admin/admin.php?page=cookielegit
Aspect menu-item
HTTP status 200
Load time 0.216 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Cookie Legit → Notice settings

Page screenshot: Cookie Legit → Notice settings
URL /wp-admin/admin.php?page=cookielegit&s=notice
Aspect menu-item
HTTP status 200
Load time 0.173 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Cookie Legit → Pixel settings

Page screenshot: Cookie Legit → Pixel settings
URL /wp-admin/admin.php?page=cookielegit&s=pixel
Aspect menu-item
HTTP status 200
Load time 0.157 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Cookie Legit → Blocking

Page screenshot: Cookie Legit → Blocking
URL /wp-admin/admin.php?page=cookielegit&s=blocking
Aspect menu-item
HTTP status 200
Load time 0.163 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.202 s
Memory usage 3.46 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.331 s0.294 s-0.037 s3.51 MiB3.54 MiB+ 31.17 KiB
/wp-admin/edit.php0.213 s0.185 s-0.028 s3.57 MiB3.6 MiB+ 31.17 KiB
/wp-admin/post-new.php0.782 s0.811 s+0.029 s6.06 MiB6.1 MiB+ 35.72 KiB
/wp-admin/upload.php0.586 s0.448 s-0.138 s3.52 MiB3.54 MiB+ 14.08 KiB
/wp-admin/options-writing.php0.221 s0.192 s-0.029 s3.5 MiB3.52 MiB+ 17.76 KiB
/wp-admin/media-new.php0.290 s0.227 s-0.063 s3.49 MiB3.52 MiB+ 25.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.241 s0.176 s-0.065 s3.5 MiB3.54 MiB+ 36.63 KiB
/wp-admin/post-new.php?post_type=page0.610 s0.617 s+0.007 s6.05 MiB6.08 MiB+ 31.24 KiB
/wp-admin/options-discussion.php0.262 s0.219 s-0.043 s3.5 MiB3.52 MiB+ 14.26 KiB
/wp-admin/edit-comments.php0.438 s0.180 s-0.258 s3.52 MiB3.54 MiB+ 13.76 KiB
/0.312 s0.183 s-0.129 s3.43 MiB3.46 MiB+ 22.89 KiB
Average 0.390 s0.321 s-0.069 s3.97 MiB3.99 MiB+ 24.97 KiB

Code Statistics

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.

PHP
Sass
JavaScript
Language % Lines of code Comment lines Files
PHP48.2%1,36128235
Sass26.1%737111
JavaScript14.1%39805
PO File7.2%2021031
JSON2.9%8202
Markdown1.5%4301
SVG0.0%101
Total 2,824 386 56

PHP Code Analysis | More results »

Lines of code 793
Total complexity 115
Median class complexity 4.0
Median method complexity 2.0
Most complex class Cookie_Legit\Models\Cookie_Legit_Settings
Most complex function Cookie_Legit\Public\Cookie_Legit_Blocker::maybe_block_scripts()
Classes 15
Methods 47
Functions 3

Additions

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.

Options wp_options 4

PHP Error Log 6 lines

[07-Oct-2025 10:47:00 UTC] PHP Deprecated:  printf(): Passing null to parameter #1 ($format) of type string is deprecated in /wp-content/plugins/cookielegit/view/admin/settings/partials/notice_fields.php on line 155
[07-Oct-2025 10:47:00 UTC] PHP Deprecated:  printf(): Passing null to parameter #1 ($format) of type string is deprecated in /wp-content/plugins/cookielegit/view/admin/settings/partials/notice_fields.php on line 155
[07-Oct-2025 10:47:00 UTC] PHP Deprecated:  printf(): Passing null to parameter #1 ($format) of type string is deprecated in /wp-content/plugins/cookielegit/view/admin/settings/partials/notice_fields.php on line 155
[07-Oct-2025 10:47:01 UTC] PHP Deprecated:  printf(): Passing null to parameter #1 ($format) of type string is deprecated in /wp-content/plugins/cookielegit/view/admin/settings/partials/notice_fields.php on line 155
[07-Oct-2025 10:47:01 UTC] PHP Deprecated:  printf(): Passing null to parameter #1 ($format) of type string is deprecated in /wp-content/plugins/cookielegit/view/admin/settings/partials/notice_fields.php on line 155
[07-Oct-2025 10:47:01 UTC] PHP Deprecated:  printf(): Passing null to parameter #1 ($format) of type string is deprecated in /wp-content/plugins/cookielegit/view/admin/settings/partials/notice_fields.php on line 155
See also: All tests for this plugin, How to Hide CookieLegit Admin Menus