hCaptcha for WordPress 3.7.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: 170.63 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=67cf7e65b6
Aspect after-activation
HTTP status 200
Load time 0.296 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.290 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.180 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.356 s0.322 s-0.034 s3.38 MiB3.55 MiB+ 178.8 KiB
/wp-admin/edit.php0.334 s0.205 s-0.129 s3.41 MiB3.58 MiB+ 178.01 KiB
/wp-admin/post-new.php0.784 s0.583 s-0.201 s5.46 MiB5.64 MiB+ 183.04 KiB
/wp-admin/upload.php0.545 s0.457 s-0.088 s3.32 MiB3.48 MiB+ 161.76 KiB
/wp-admin/options-writing.php0.224 s0.207 s-0.017 s3.32 MiB3.47 MiB+ 154.34 KiB
/wp-admin/media-new.php0.305 s0.245 s-0.060 s3.29 MiB3.46 MiB+ 173.21 KiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.195 s+0.007 s3.31 MiB3.49 MiB+ 179.12 KiB
/wp-admin/post-new.php?post_type=page0.766 s0.579 s-0.187 s5.45 MiB5.62 MiB+ 178.63 KiB
/wp-admin/options-discussion.php0.248 s0.426 s+0.178 s3.3 MiB3.46 MiB+ 162.25 KiB
/wp-admin/edit-comments.php0.232 s0.250 s+0.018 s3.33 MiB3.49 MiB+ 161.75 KiB
/0.288 s0.194 s-0.094 s3.31 MiB3.47 MiB+ 166.02 KiB
Average 0.388 s0.333 s-0.055 s3.72 MiB3.88 MiB+ 170.63 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

[17-Jan-2024 07:57:43 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 2.0.0 started.
[17-Jan-2024 07:57:43 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 2.0.0 completed.
[17-Jan-2024 07:57:43 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 3.6.0 started.
[17-Jan-2024 07:57:43 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