hCaptcha for WordPress 3.6.0

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

Summary

Errors
4Unrecognized messages in the PHP error log
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 160.87 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.4.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 50,000+
WordPress.org page https://wordpress.org/plugins/hcaptcha-for-forms-and-more/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=hcaptcha-for-forms-and-more%2Fhcaptcha.php&plugin_status=all&paged=1&s&_wpnonce=7fb92db068
Aspect after-activation
HTTP status 200
Load time 0.404 s
Memory usage 3.72 MiB
JS errors None
Resource errors None

Settings → hCaptcha

Page screenshot: Settings → hCaptcha
URL /wp-admin/options-general.php?page=hcaptcha
Aspect menu-item
HTTP status 200
Load time 0.310 s
Memory usage 3.72 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.46 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.346 s0.302 s-0.044 s3.38 MiB3.55 MiB+ 173.82 KiB
/wp-admin/edit.php0.200 s0.179 s-0.021 s3.41 MiB3.57 MiB+ 173.03 KiB
/wp-admin/post-new.php0.865 s0.906 s+0.041 s5.46 MiB5.63 MiB+ 178.06 KiB
/wp-admin/upload.php0.776 s0.497 s-0.279 s3.32 MiB3.48 MiB+ 156.78 KiB
/wp-admin/options-writing.php0.190 s0.215 s+0.025 s3.32 MiB3.46 MiB+ 149.37 KiB
/wp-admin/media-new.php0.281 s0.299 s+0.018 s3.29 MiB3.46 MiB+ 168.23 KiB
/wp-admin/edit-tags.php?taxonomy=category0.167 s0.196 s+0.029 s3.31 MiB3.48 MiB+ 174.14 KiB
/wp-admin/post-new.php?post_type=page0.911 s0.664 s-0.247 s5.45 MiB5.62 MiB+ 173.65 KiB
/wp-admin/options-discussion.php0.283 s0.224 s-0.059 s3.3 MiB3.46 MiB+ 157.27 KiB
/wp-admin/edit-comments.php0.255 s0.409 s+0.154 s3.33 MiB3.49 MiB+ 156.77 KiB
/0.266 s0.222 s-0.044 s3.36 MiB3.46 MiB+ 108.42 KiB
Average 0.413 s0.374 s-0.039 s3.72 MiB3.88 MiB+ 160.87 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
Language % Lines of code Comment lines Files
PHP80.9%11,4098,131135
JavaScript9.0%1,27020233
CSS4.5%63158
PO File3.6%5132372
SVG1.9%267210
HTML0.0%501
Total 14,095 8,577 189

PHP Code Analysis | More results »

Lines of code 11,541
Total complexity 1,727
Median class complexity 7.0
Median method complexity 1.0
Most complex class KAGG\Settings\Abstracts\SettingsBase
Most complex function HCaptcha\Main::load_modules()
Classes 130
Methods 761
Functions 15

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 4 lines

[14-Jan-2024 10:51:07 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 2.0.0 started.
[14-Jan-2024 10:51:07 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 2.0.0 completed.
[14-Jan-2024 10:51:07 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 3.6.0 started.
[14-Jan-2024 10:51:07 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 3.6.0 completed.
See also: All tests for this plugin, How to Hide hCaptcha for WordPress Admin Menus