Disable Comments 2.3.5

Does Disable Comments work with WordPress 6.0 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: 54.2 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.0
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=4d3661a2d0
Aspect after-activation
HTTP status 200
Load time 0.289 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.495 s
Memory usage 3.8 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.251 s
Memory usage 3.7 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.219 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.381 s0.256 s-0.125 s3.72 MiB3.76 MiB+ 45.39 KiB
/wp-admin/edit.php0.198 s0.195 s-0.003 s3.75 MiB3.79 MiB+ 43.95 KiB
/wp-admin/post-new.php1.128 s0.925 s-0.203 s5.53 MiB5.58 MiB+ 53.02 KiB
/wp-admin/upload.php0.395 s0.340 s-0.055 s3.68 MiB3.72 MiB+ 43.52 KiB
/wp-admin/options-writing.php0.264 s0.156 s-0.108 s3.61 MiB3.7 MiB+ 87.84 KiB
/wp-admin/media-new.php0.340 s0.201 s-0.139 s3.66 MiB3.7 MiB+ 43.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.196 s+0.009 s3.68 MiB3.73 MiB+ 44.6 KiB
/wp-admin/post-new.php?post_type=page0.585 s0.607 s+0.022 s5.53 MiB5.57 MiB+ 44.6 KiB
/wp-admin/options-discussion.php0.247 s0.294 s+0.047 s3.59 MiB3.7 MiB+ 108.01 KiB
/wp-admin/edit-comments.php0.212 s0.202 s-0.010 s3.69 MiB3.73 MiB+ 44.24 KiB
/0.267 s0.208 s-0.059 s3.55 MiB3.58 MiB+ 37.33 KiB
Average 0.382 s0.325 s-0.057 s4 MiB4.05 MiB+ 54.2 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.

CSS
PHP
Language % Lines of code Comment lines Files
CSS56.7%3,37513
PHP37.7%2,24145112
JavaScript5.5%328162
SVG0.1%401
Total 5,948 468 18

PHP Code Analysis | More results »

Lines of code 1,672
Total complexity 471
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 89
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