hCaptcha for WordPress 3.7.1

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: 170.59 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=c0543a151d
Aspect after-activation
HTTP status 200
Load time 0.319 s
Memory usage 3.73 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.328 s
Memory usage 3.74 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.200 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.402 s0.350 s-0.052 s3.38 MiB3.55 MiB+ 178.76 KiB
/wp-admin/edit.php0.223 s0.222 s-0.001 s3.41 MiB3.58 MiB+ 177.97 KiB
/wp-admin/post-new.php0.954 s0.635 s-0.319 s5.46 MiB5.64 MiB+ 183 KiB
/wp-admin/upload.php0.628 s0.559 s-0.069 s3.32 MiB3.48 MiB+ 161.72 KiB
/wp-admin/options-writing.php0.232 s0.221 s-0.011 s3.32 MiB3.47 MiB+ 154.3 KiB
/wp-admin/media-new.php0.340 s0.230 s-0.110 s3.29 MiB3.46 MiB+ 173.17 KiB
/wp-admin/edit-tags.php?taxonomy=category0.222 s0.212 s-0.010 s3.31 MiB3.49 MiB+ 179.08 KiB
/wp-admin/post-new.php?post_type=page0.633 s0.630 s-0.003 s5.45 MiB5.62 MiB+ 178.59 KiB
/wp-admin/options-discussion.php0.375 s0.292 s-0.083 s3.3 MiB3.46 MiB+ 162.21 KiB
/wp-admin/edit-comments.php0.253 s0.234 s-0.019 s3.34 MiB3.49 MiB+ 161.71 KiB
/0.316 s0.225 s-0.091 s3.31 MiB3.47 MiB+ 165.98 KiB
Average 0.416 s0.346 s-0.070 s3.72 MiB3.88 MiB+ 170.59 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,4778,139135
JavaScript9.0%1,27020233
CSS4.6%64968
PO File3.6%5132372
SVG1.9%267210
HTML0.0%501
Total 14,181 8,586 189

PHP Code Analysis | More results »

Lines of code 11,610
Total complexity 1,731
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

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