hCaptcha for WordPress 2.5.0

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

Summary

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

Memory usage: 92.28 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.1.1
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=11a8013942
Aspect after-activation
HTTP status 200
Load time 0.262 s
Memory usage 3.18 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.324 s
Memory usage 3.1 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.03 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.279 s0.252 s-0.027 s3.05 MiB3.14 MiB+ 95 KiB
/wp-admin/edit.php0.187 s0.192 s+0.005 s3.07 MiB3.17 MiB+ 94.38 KiB
/wp-admin/post-new.php0.781 s0.969 s+0.188 s4.97 MiB5.06 MiB+ 99.37 KiB
/wp-admin/upload.php0.541 s0.294 s-0.247 s2.99 MiB3.07 MiB+ 77.59 KiB
/wp-admin/options-writing.php0.146 s0.139 s-0.007 s2.99 MiB3.05 MiB+ 64.24 KiB
/wp-admin/media-new.php0.265 s0.227 s-0.038 s2.97 MiB3.05 MiB+ 89.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.180 s-0.014 s2.98 MiB3.07 MiB+ 94.95 KiB
/wp-admin/post-new.php?post_type=page0.628 s0.731 s+0.103 s4.96 MiB5.05 MiB+ 94.95 KiB
/wp-admin/options-discussion.php0.212 s0.310 s+0.098 s2.98 MiB3.05 MiB+ 78.09 KiB
/wp-admin/edit-comments.php0.188 s0.208 s+0.020 s3 MiB3.08 MiB+ 77.59 KiB
/0.274 s0.218 s-0.056 s2.94 MiB3.09 MiB+ 149.89 KiB
Average 0.336 s0.338 s+0.002 s3.35 MiB3.44 MiB+ 92.28 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
Language % Lines of code Comment lines Files
PHP88.1%4,7533,38868
CSS5.7%30653
JavaScript3.3%1772510
PO File2.6%140521
SVG0.2%1004
HTML0.2%901
Total 5,395 3,470 87

PHP Code Analysis | More results »

Lines of code 4,769
Total complexity 764
Median class complexity 6.0
Median method complexity 1.0
Most complex class HCaptcha\Settings\Abstracts\SettingsBase
Most complex function HCaptcha\Main::load_modules()
Classes 64
Methods 368
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 2 lines

[06-Feb-2023 09:23:59 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 2.0.0 started.
[06-Feb-2023 09:23:59 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 2.0.0 completed.
See also: All tests for this plugin, How to Hide hCaptcha for WordPress Admin Menus