hCaptcha for WordPress 3.8.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: 179.26 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=72adb6a9e0
Aspect after-activation
HTTP status 200
Load time 0.518 s
Memory usage 3.74 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.331 s
Memory usage 3.75 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.240 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.597 s0.363 s-0.234 s3.38 MiB3.57 MiB+ 192.33 KiB
/wp-admin/edit.php0.258 s0.244 s-0.014 s3.41 MiB3.59 MiB+ 191.23 KiB
/wp-admin/post-new.php0.966 s1.071 s+0.105 s5.46 MiB5.65 MiB+ 196.88 KiB
/wp-admin/upload.php0.687 s0.726 s+0.039 s3.32 MiB3.49 MiB+ 175.34 KiB
/wp-admin/options-writing.php0.257 s0.251 s-0.006 s3.32 MiB3.48 MiB+ 168.19 KiB
/wp-admin/media-new.php0.338 s0.316 s-0.022 s3.29 MiB3.48 MiB+ 186.43 KiB
/wp-admin/edit-tags.php?taxonomy=category0.237 s0.220 s-0.017 s3.31 MiB3.5 MiB+ 192.34 KiB
/wp-admin/post-new.php?post_type=page1.018 s0.776 s-0.242 s5.45 MiB5.64 MiB+ 192.47 KiB
/wp-admin/options-discussion.php0.358 s0.311 s-0.047 s3.3 MiB3.48 MiB+ 177.34 KiB
/wp-admin/edit-comments.php0.288 s0.478 s+0.190 s3.34 MiB3.51 MiB+ 174.97 KiB
/0.303 s0.268 s-0.035 s3.36 MiB3.48 MiB+ 124.39 KiB
Average 0.482 s0.457 s-0.026 s3.72 MiB3.9 MiB+ 179.26 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
PHP77.9%11,6088,216135
JavaScript10.1%1,50723334
CSS5.8%857710
PO File3.4%5132372
SVG2.7%403212
HTML0.0%501
Total 14,893 8,695 194

PHP Code Analysis | More results »

Lines of code 11,741
Total complexity 1,747
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 768
Functions 14

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

[24-Jan-2024 14:45:13 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 2.0.0 started.
[24-Jan-2024 14:45:13 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 2.0.0 completed.
[24-Jan-2024 14:45:13 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 3.6.0 started.
[24-Jan-2024 14:45:13 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