hCaptcha for WordPress 2.5.1

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: 93.98 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=9d0407b4f8
Aspect after-activation
HTTP status 200
Load time 0.257 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.297 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.227 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.303 s0.227 s-0.076 s3.05 MiB3.14 MiB+ 96.7 KiB
/wp-admin/edit.php0.188 s0.189 s+0.001 s3.07 MiB3.17 MiB+ 96.08 KiB
/wp-admin/post-new.php0.796 s0.959 s+0.163 s4.97 MiB5.07 MiB+ 101.07 KiB
/wp-admin/upload.php0.648 s0.299 s-0.349 s2.99 MiB3.07 MiB+ 79.3 KiB
/wp-admin/options-writing.php0.175 s0.146 s-0.029 s2.99 MiB3.05 MiB+ 65.95 KiB
/wp-admin/media-new.php0.279 s0.234 s-0.045 s2.97 MiB3.06 MiB+ 90.75 KiB
/wp-admin/edit-tags.php?taxonomy=category0.231 s0.177 s-0.054 s2.98 MiB3.08 MiB+ 96.66 KiB
/wp-admin/post-new.php?post_type=page0.628 s0.677 s+0.049 s4.96 MiB5.05 MiB+ 96.66 KiB
/wp-admin/options-discussion.php0.205 s0.302 s+0.097 s2.98 MiB3.05 MiB+ 79.79 KiB
/wp-admin/edit-comments.php0.216 s0.217 s+0.001 s3 MiB3.08 MiB+ 79.29 KiB
/0.287 s0.223 s-0.064 s2.94 MiB3.09 MiB+ 151.59 KiB
Average 0.360 s0.332 s-0.028 s3.35 MiB3.45 MiB+ 93.98 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,7593,40068
CSS5.7%30653
JavaScript3.3%1772510
PO File2.6%140521
SVG0.2%1004
HTML0.2%901
Total 5,401 3,482 87

PHP Code Analysis | More results »

Lines of code 4,775
Total complexity 765
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 369
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

[09-Feb-2023 12:25:36 UTC] hCaptcha Plugin:  Migration of hCaptcha Plugin to 2.0.0 started.
[09-Feb-2023 12:25:36 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