Captcha for WordPress 2.0.681

Does Captcha for WordPress work with WordPress 6.7 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 151.33 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.7
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 9,000+
WordPress.org page https://wordpress.org/plugins/captcha-for-contact-form-7/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=captcha-for-contact-form-7%2Ff12-cf7-captcha.php&plugin_status=all&paged=1&s&_wpnonce=f68fbe9958
Aspect after-activation
HTTP status 200
Load time 0.446 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

Captcha

Page screenshot: Captcha
URL /wp-admin/admin.php?page=f12-cf7-captcha
Aspect menu-item
HTTP status 200
Load time 0.276 s
Memory usage 3.61 MiB
JS errors None
Resource errors None

Captcha → Log Entries

Page screenshot: Captcha → Log Entries
URL /wp-admin/edit.php?post_type=f12_captcha_log
Aspect menu-item
HTTP status 200
Load time 0.190 s
Memory usage 3.68 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.55 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.373 s0.308 s-0.065 s3.48 MiB3.63 MiB+ 149.81 KiB
/wp-admin/edit.php0.239 s0.262 s+0.023 s3.54 MiB3.69 MiB+ 148.67 KiB
/wp-admin/post-new.php0.897 s0.694 s-0.203 s5.92 MiB6.13 MiB+ 215.51 KiB
/wp-admin/upload.php0.707 s0.384 s-0.323 s3.49 MiB3.63 MiB+ 138.8 KiB
/wp-admin/options-writing.php0.238 s0.224 s-0.014 s3.47 MiB3.61 MiB+ 143.1 KiB
/wp-admin/media-new.php0.287 s0.280 s-0.007 s3.46 MiB3.61 MiB+ 151.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.225 s0.352 s+0.127 s3.48 MiB3.63 MiB+ 154.13 KiB
/wp-admin/post-new.php?post_type=page0.580 s0.640 s+0.060 s5.92 MiB6.12 MiB+ 211.83 KiB
/wp-admin/options-discussion.php0.291 s0.299 s+0.008 s3.47 MiB3.61 MiB+ 140.23 KiB
/wp-admin/edit-comments.php0.235 s0.233 s-0.002 s3.49 MiB3.63 MiB+ 139.1 KiB
/0.362 s0.220 s-0.142 s3.48 MiB3.55 MiB+ 72.2 KiB
Average 0.403 s0.354 s-0.049 s3.93 MiB4.08 MiB+ 151.33 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
PO File
Language % Lines of code Comment lines Files
PHP70.9%9,5565,31388
PO File16.5%2,2221,0063
CSS7.1%956753
Sass3.4%45402
JavaScript2.2%293817
SVG0.0%401
Total 13,485 6,475 104

PHP Code Analysis | More results »

Lines of code 9,548
Total complexity 1,427
Median class complexity 13.5
Median method complexity 1.0
Most complex class f12_cf7_captcha\UI_Dashboard
Most complex function f12_cf7_captcha\UI_Dashboard::the_content()
Classes 82
Methods 688
Functions 2

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.

Database Tables 5

Options wp_options 2

Custom Post Types 1

ID Name
f12_captcha_logCaptcha Log

PHP Error Log 4 lines

[18-Nov-2024 11:34:51 UTC] PHP Warning:  Undefined array key "protection_wordpress_comments_enable" in /wp-content/plugins/captcha-for-contact-form-7/ui/controller/UI_Dashboard.php on line 411
[18-Nov-2024 11:34:51 UTC] PHP Warning:  Undefined array key "protection_wordpress_enable" in /wp-content/plugins/captcha-for-contact-form-7/ui/controller/UI_Dashboard.php on line 411
[18-Nov-2024 11:34:51 UTC] PHP Warning:  Undefined array key "protection_wordpress_login_enable" in /wp-content/plugins/captcha-for-contact-form-7/ui/controller/UI_Dashboard.php on line 411
[18-Nov-2024 11:34:51 UTC] PHP Warning:  Undefined array key "protection_wordpress_registration_enable" in /wp-content/plugins/captcha-for-contact-form-7/ui/controller/UI_Dashboard.php on line 411
See also: All tests for this plugin, How to Hide Captcha for WordPress Admin Menus