Custom Cookie Message 2.4.10

Does Custom Cookie Message work with WordPress 6.5.2 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: 21.92 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.5.2
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=35dd46501b
Aspect after-activation
HTTP status 200
Load time 0.244 s
Memory usage 3.41 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.499 s
Memory usage 3.49 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.221 s
Memory usage 3.44 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.348 s
Memory usage 3.44 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.766 s
Memory usage 3.5 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.235 s
Memory usage 3.44 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.185 s
Memory usage 3.38 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.341 s0.267 s-0.074 s3.44 MiB3.46 MiB+ 27.7 KiB
/wp-admin/edit.php0.186 s0.373 s+0.187 s3.46 MiB3.49 MiB+ 28.06 KiB
/wp-admin/post-new.php0.830 s0.578 s-0.252 s5.6 MiB5.64 MiB+ 40.08 KiB
/wp-admin/upload.php0.595 s0.352 s-0.243 s3.38 MiB3.39 MiB+ 10.75 KiB
/wp-admin/options-writing.php0.204 s0.172 s-0.032 s3.37 MiB3.38 MiB+ 2.71 KiB
/wp-admin/media-new.php0.271 s0.191 s-0.080 s3.35 MiB3.37 MiB+ 22.94 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.167 s-0.016 s3.37 MiB3.4 MiB+ 28.11 KiB
/wp-admin/post-new.php?post_type=page0.548 s0.696 s+0.148 s5.59 MiB5.63 MiB+ 40.09 KiB
/wp-admin/options-discussion.php0.330 s0.230 s-0.100 s3.36 MiB3.37 MiB+ 11.24 KiB
/wp-admin/edit-comments.php0.206 s0.213 s+0.007 s3.39 MiB3.4 MiB+ 10.74 KiB
/0.269 s0.202 s-0.067 s3.37 MiB3.38 MiB+ 18.69 KiB
Average 0.360 s0.313 s-0.047 s3.79 MiB3.81 MiB+ 21.92 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

[14-Apr-2024 16:40:18 UTC] PHP Warning:  Undefined array key "accept_button_text" in /wp-content/plugins/custom-cookie-message/src/Forms/class-admincontentoptions.php on line 148
[14-Apr-2024 16:40:19 UTC] PHP Warning:  Undefined array key "banner_animation" in /wp-content/plugins/custom-cookie-message/src/Forms/class-adminstylingoptions.php on line 299
[14-Apr-2024 16:40:19 UTC] PHP Warning:  Undefined array key "banner_animation" in /wp-content/plugins/custom-cookie-message/src/Forms/class-adminstylingoptions.php on line 300
[14-Apr-2024 16:40:19 UTC] PHP Warning:  Undefined array key "banner_animation" in /wp-content/plugins/custom-cookie-message/src/Forms/class-adminstylingoptions.php on line 301
[14-Apr-2024 16:40:24 UTC] PHP Notice:  Function register_rest_route was called incorrectly. The REST API route definition for custom-cm/cookie_list/(?P.+) is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 6078
[14-Apr-2024 16:40:24 UTC] PHP Notice:  Function register_rest_route was called incorrectly. The REST API route definition for custom-cm/post_link is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 6078
[14-Apr-2024 16:40:24 UTC] PHP Notice:  Function register_rest_route was called incorrectly. The REST API route definition for custom-cm/banner is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 6078
[14-Apr-2024 16:40:28 UTC] PHP Notice:  Function register_rest_route was called incorrectly. The REST API route definition for custom-cm/cookie_list/(?P.+) is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 6078
[14-Apr-2024 16:40:28 UTC] PHP Notice:  Function register_rest_route was called incorrectly. The REST API route definition for custom-cm/post_link is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 6078
[14-Apr-2024 16:40:28 UTC] PHP Notice:  Function register_rest_route was called incorrectly. The REST API route definition for custom-cm/banner is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 6078
See also: All tests for this plugin, How to Hide the "Custom Cookie Message" Admin Menu