Disable Comments 2.4.1

Does Disable Comments work with WordPress 6.0.2 and PHP 7.4.8? 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: 49.13 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.029 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.0.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=5bb0b45d2c
Aspect after-activation
HTTP status 200
Load time 0.406 s
Memory usage 3.74 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.448 s
Memory usage 3.81 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.257 s
Memory usage 3.71 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.217 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.323 s0.273 s-0.050 s3.72 MiB3.77 MiB+ 45.31 KiB
/wp-admin/edit.php0.178 s0.204 s+0.026 s3.76 MiB3.8 MiB+ 43.87 KiB
/wp-admin/post-new.php0.770 s1.371 s+0.601 s5.55 MiB5.6 MiB+ 52.94 KiB
/wp-admin/upload.php0.593 s0.318 s-0.275 s3.69 MiB3.73 MiB+ 43.45 KiB
/wp-admin/options-writing.php0.171 s0.142 s-0.029 s3.62 MiB3.7 MiB+ 87.35 KiB
/wp-admin/media-new.php0.415 s0.294 s-0.121 s3.66 MiB3.71 MiB+ 43.62 KiB
/wp-admin/edit-tags.php?taxonomy=category0.213 s0.216 s+0.003 s3.69 MiB3.73 MiB+ 44.52 KiB
/wp-admin/post-new.php?post_type=page0.766 s1.030 s+0.264 s5.54 MiB5.59 MiB+ 44.52 KiB
/wp-admin/options-discussion.php0.205 s0.206 s+0.001 s3.6 MiB3.7 MiB+ 107.93 KiB
/wp-admin/edit-comments.php0.235 s0.192 s-0.043 s3.7 MiB3.74 MiB+ 44.16 KiB
/0.250 s0.194 s-0.056 s3.6 MiB3.59 MiB- 17.21 KiB
Average 0.374 s0.404 s+0.029 s4.01 MiB4.06 MiB+ 49.13 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
PHP81.8%2,32545512
JavaScript14.1%402162
CSS3.4%9613
XML0.5%1402
SVG0.1%401
Total 2,841 472 20

PHP Code Analysis | More results »

Lines of code 1,730
Total complexity 488
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