Custom Cookie Message 2.4.10

Does Custom Cookie Message work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 27.23 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.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 200+
WordPress.org page https://wordpress.org/plugins/custom-cookie-message/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

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=custom-cookie-message%2Fcustom-cookie-message.php&plugin_status=all&paged=1&s&_wpnonce=3c3d92905a
Aspect after-activation
HTTP status 200
Load time 0.383 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

Settings → Custom Cookie Message

Page screenshot: Settings → Custom Cookie Message
URL /wp-admin/options-general.php?page=custom_cookie_message_options
Aspect menu-item
HTTP status 200
Load time 0.481 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

Settings → Custom Cookie Message → Content Options

Page screenshot: Settings → Custom Cookie Message → Content Options
URL /wp-admin/options-general.php?page=custom_cookie_message_options&tab=content_options
Aspect menu-item-tab
HTTP status 200
Load time 0.220 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Settings → Custom Cookie Message → Styling Options

Page screenshot: Settings → Custom Cookie Message → Styling Options
URL /wp-admin/options-general.php?page=custom_cookie_message_options&tab=styling_options
Aspect menu-item-tab
HTTP status 200
Load time 0.398 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Settings → Custom Cookie Message → Cookie Settings

Page screenshot: Settings → Custom Cookie Message → Cookie Settings
URL /wp-admin/options-general.php?page=custom_cookie_message_options&tab=cookie_settings
Aspect menu-item-tab
HTTP status 200
Load time 0.881 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Settings → Custom Cookie Message → Export/Import

Page screenshot: Settings → Custom Cookie Message → Export/Import
URL /wp-admin/options-general.php?page=custom_cookie_message_options&tab=export_import
Aspect menu-item-tab
HTTP status 200
Load time 0.258 s
Memory usage 3.59 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.253 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.349 s0.283 s-0.066 s3.51 MiB3.53 MiB+ 27.84 KiB
/wp-admin/edit.php0.205 s0.234 s+0.029 s3.57 MiB3.6 MiB+ 27.41 KiB
/wp-admin/post-new.php0.806 s0.790 s-0.016 s6.06 MiB6.12 MiB+ 65.3 KiB
/wp-admin/upload.php0.561 s0.483 s-0.078 s3.52 MiB3.53 MiB+ 10.32 KiB
/wp-admin/options-writing.php0.203 s0.211 s+0.008 s3.5 MiB3.51 MiB+ 14 KiB
/wp-admin/media-new.php0.266 s0.207 s-0.059 s3.49 MiB3.51 MiB+ 22.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.274 s0.194 s-0.080 s3.5 MiB3.54 MiB+ 32.87 KiB
/wp-admin/post-new.php?post_type=page0.613 s0.612 s-0.001 s6.05 MiB6.11 MiB+ 60.83 KiB
/wp-admin/options-discussion.php0.324 s0.420 s+0.096 s3.5 MiB3.51 MiB+ 10.5 KiB
/wp-admin/edit-comments.php0.209 s0.200 s-0.009 s3.52 MiB3.53 MiB+ 10 KiB
/0.322 s0.231 s-0.091 s3.43 MiB3.45 MiB+ 18.2 KiB
Average 0.376 s0.351 s-0.024 s3.97 MiB4 MiB+ 27.23 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
JavaScript
Sass
CSS
PO File
Language % Lines of code Comment lines Files
PHP46.2%1,57084219
JavaScript19.3%654328
Sass10.3%34803
CSS8.5%28963
PO File8.3%2831221
Bourne Shell3.8%130142
JSON2.0%6902
XML1.3%4493
Markdown0.2%801
Total 3,395 1,025 42

PHP Code Analysis | More results »

Lines of code 1,388
Total complexity 236
Median class complexity 12.5
Median method complexity 2.0
Most complex class CustomCookieMessage\Main
Most complex function CustomCookieMessage\Forms\AdminForm::cookies_options_display()
Classes 14
Methods 121
Functions 0

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 2

PHP Error Log 10 lines

[05-May-2025 00:13:31 UTC] PHP Warning:  Undefined array key "accept_button_text" in /wp-content/plugins/custom-cookie-message/src/Forms/class-admincontentoptions.php on line 148
[05-May-2025 00:13:32 UTC] PHP Warning:  Undefined array key "banner_animation" in /wp-content/plugins/custom-cookie-message/src/Forms/class-adminstylingoptions.php on line 299
[05-May-2025 00:13:32 UTC] PHP Warning:  Undefined array key "banner_animation" in /wp-content/plugins/custom-cookie-message/src/Forms/class-adminstylingoptions.php on line 300
[05-May-2025 00:13:32 UTC] PHP Warning:  Undefined array key "banner_animation" in /wp-content/plugins/custom-cookie-message/src/Forms/class-adminstylingoptions.php on line 301
[05-May-2025 00:13:38 UTC] PHP Notice:  Function register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>custom-cm/cookie_list/(?P.+)</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 6121
[05-May-2025 00:13:38 UTC] PHP Notice:  Function register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>custom-cm/post_link</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 6121
[05-May-2025 00:13:38 UTC] PHP Notice:  Function register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>custom-cm/banner</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 6121
[05-May-2025 00:13:41 UTC] PHP Notice:  Function register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>custom-cm/cookie_list/(?P.+)</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 6121
[05-May-2025 00:13:41 UTC] PHP Notice:  Function register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>custom-cm/post_link</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 6121
[05-May-2025 00:13:41 UTC] PHP Notice:  Function register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>custom-cm/banner</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 6121
See also: All tests for this plugin, How to Hide the "Custom Cookie Message" Admin Menu