hCaptcha for WordPress 2.10.0

Does hCaptcha for WordPress work with WordPress 6.2.2 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: 112.81 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.2.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=723eb49a22
Aspect after-activation
HTTP status 200
Load time 0.438 s
Memory usage 3.2 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.185 s
Memory usage 3.14 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.241 s
Memory usage 3.14 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.269 s0.232 s-0.037 s3.07 MiB3.18 MiB+ 115.06 KiB
/wp-admin/edit.php0.180 s0.178 s-0.002 s3.1 MiB3.21 MiB+ 114.44 KiB
/wp-admin/post-new.php0.838 s0.858 s+0.020 s5.02 MiB5.14 MiB+ 119.43 KiB
/wp-admin/upload.php0.505 s0.257 s-0.248 s3.02 MiB3.11 MiB+ 97.66 KiB
/wp-admin/options-writing.php0.173 s0.141 s-0.032 s3.01 MiB3.09 MiB+ 84.41 KiB
/wp-admin/media-new.php0.266 s0.381 s+0.115 s2.99 MiB3.1 MiB+ 109.11 KiB
/wp-admin/edit-tags.php?taxonomy=category0.223 s0.164 s-0.059 s3.01 MiB3.12 MiB+ 115.02 KiB
/wp-admin/post-new.php?post_type=page0.570 s0.608 s+0.038 s5.01 MiB5.13 MiB+ 115.02 KiB
/wp-admin/options-discussion.php0.217 s0.212 s-0.005 s3 MiB3.1 MiB+ 98.15 KiB
/wp-admin/edit-comments.php0.205 s0.202 s-0.003 s3.03 MiB3.12 MiB+ 97.65 KiB
/0.285 s0.218 s-0.067 s2.97 MiB3.14 MiB+ 174.96 KiB
Average 0.339 s0.314 s-0.025 s3.38 MiB3.49 MiB+ 112.81 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
PHP85.6%6,8834,66294
CSS5.7%46154
JavaScript5.7%4616115
PO File1.7%140521
SVG1.1%9127
HTML0.1%501
Total 8,041 4,782 122

PHP Code Analysis | More results »

Lines of code 6,901
Total complexity 1,049
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 90
Methods 469
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

[11-Jul-2023 17:42:11 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 2.0.0 started.
[11-Jul-2023 17:42:11 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