Disable Comments 2.4.2

Does Disable Comments work with WordPress 6.1.1 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.61 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 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=3fdf1fec72
Aspect after-activation
HTTP status 200
Load time 0.445 s
Memory usage 3.53 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.451 s
Memory usage 3.53 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.237 s
Memory usage 3.43 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.216 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.268 s0.263 s-0.005 s3.54 MiB3.59 MiB+ 46.48 KiB
/wp-admin/edit.php0.183 s0.188 s+0.005 s3.57 MiB3.62 MiB+ 45.75 KiB
/wp-admin/post-new.php1.220 s0.935 s-0.285 s5.46 MiB5.51 MiB+ 50.11 KiB
/wp-admin/upload.php0.686 s0.293 s-0.393 s3.41 MiB3.51 MiB+ 108.63 KiB
/wp-admin/options-writing.php0.153 s0.263 s+0.110 s3.4 MiB3.43 MiB+ 27.09 KiB
/wp-admin/media-new.php0.227 s0.246 s+0.019 s3.39 MiB3.49 MiB+ 108.8 KiB
/wp-admin/edit-tags.php?taxonomy=category0.164 s0.199 s+0.035 s3.48 MiB3.52 MiB+ 45.7 KiB
/wp-admin/post-new.php?post_type=page0.720 s0.662 s-0.058 s5.46 MiB5.5 MiB+ 45.66 KiB
/wp-admin/options-discussion.php0.210 s0.196 s-0.014 s3.38 MiB3.43 MiB+ 45.11 KiB
/wp-admin/edit-comments.php0.187 s0.212 s+0.025 s3.48 MiB3.53 MiB+ 45.34 KiB
/0.254 s0.216 s-0.038 s3.47 MiB3.44 MiB- 22.98 KiB
Average 0.388 s0.334 s-0.054 s3.82 MiB3.87 MiB+ 49.61 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

User Metadata wp_usermeta 1

PHP Error Log

The log file is empty.

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