Disable Comments 2.4.4

Does Disable Comments work with WordPress 6.3.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 34.93 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.3.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000,000+
WordPress.org page https://wordpress.org/plugins/disable-comments/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=disable-comments%2Fdisable-comments.php&plugin_status=all&paged=1&s&_wpnonce=519229eb6e
Aspect after-activation
HTTP status 200
Load time 0.270 s
Memory usage 2.81 MiB
JS errors None
Resource errors None

Tools → Delete Comments

Page screenshot: Tools → Delete Comments
URL /wp-admin/options-general.php?page=disable_comments_settings#delete
Requested URL /wp-admin/tools.php?page=disable_comments_tools
Aspect menu-item
HTTP status 200
Load time 0.354 s
Memory usage 2.89 MiB
JS errors None
Resource errors None

Settings → Disable Comments

Page screenshot: Settings → Disable Comments
URL /wp-admin/options-general.php?page=disable_comments_settings
Aspect menu-item
HTTP status 200
Load time 0.204 s
Memory usage 2.77 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.15 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.347 s0.289 s-0.058 s2.82 MiB2.87 MiB+ 43.54 KiB
/wp-admin/edit.php0.202 s0.202 s+0.000 s2.85 MiB2.89 MiB+ 42.8 KiB
/wp-admin/post-new.php0.758 s0.630 s-0.128 s5.21 MiB5.26 MiB+ 47.18 KiB
/wp-admin/upload.php0.594 s0.456 s-0.138 s2.77 MiB2.79 MiB+ 25.43 KiB
/wp-admin/options-writing.php0.246 s0.195 s-0.051 s2.76 MiB2.78 MiB+ 17.4 KiB
/wp-admin/media-new.php0.375 s0.213 s-0.162 s2.74 MiB2.78 MiB+ 37.63 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.220 s+0.028 s2.76 MiB2.8 MiB+ 42.8 KiB
/wp-admin/post-new.php?post_type=page0.582 s0.627 s+0.045 s5.21 MiB5.25 MiB+ 42.76 KiB
/wp-admin/options-discussion.php0.219 s0.216 s-0.003 s2.75 MiB2.77 MiB+ 25.93 KiB
/wp-admin/edit-comments.php0.407 s0.407 s+0.000 s2.78 MiB2.8 MiB+ 26.16 KiB
/0.270 s0.218 s-0.052 s3.13 MiB3.16 MiB+ 32.63 KiB
Average 0.381 s0.334 s-0.047 s3.25 MiB3.29 MiB+ 34.93 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
PHP82.4%2,34745512
JavaScript14.1%402162
CSS3.4%9613
SVG0.1%401
Total 2,849 472 18

PHP Code Analysis | More results »

Lines of code 1,752
Total complexity 491
Median class complexity 143.0
Median method complexity 4.0
Most complex class Disable_Comments
Most complex function Disable_Comments::disable_comments_settings()
Classes 3
Methods 92
Functions 0

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

The log file is empty.

See also: All tests for this plugin, How to Hide Disable Comments Admin Menus