Disable Comments 2.3.1

Does Disable Comments work with WordPress 5.8.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: 44.36 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 version5.8.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=6c32fd1d0c
Aspect after-activation
HTTP status 200
Load time 0.391 s
Memory usage 3.09 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.446 s
Memory usage 3.13 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.227 s
Memory usage 3.05 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.249 s
Memory usage 2.94 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.310 s0.252 s-0.058 s3.08 MiB3.13 MiB+ 45.39 KiB
/wp-admin/edit.php0.192 s0.187 s-0.005 s3.11 MiB3.22 MiB+ 108.66 KiB
/wp-admin/post-new.php0.986 s1.155 s+0.169 s5.27 MiB5.32 MiB+ 54.52 KiB
/wp-admin/upload.php0.578 s0.293 s-0.285 s3.03 MiB3.07 MiB+ 43.52 KiB
/wp-admin/options-writing.php0.268 s0.142 s-0.126 s3.02 MiB3.05 MiB+ 27.5 KiB
/wp-admin/media-new.php0.307 s0.185 s-0.122 s3.01 MiB3.05 MiB+ 43.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.174 s0.343 s+0.169 s3.04 MiB3.08 MiB+ 44.6 KiB
/wp-admin/post-new.php?post_type=page0.848 s0.722 s-0.126 s5.26 MiB5.31 MiB+ 50.1 KiB
/wp-admin/options-discussion.php0.228 s0.260 s+0.032 s3 MiB3.05 MiB+ 44.01 KiB
/wp-admin/edit-comments.php0.202 s0.198 s-0.004 s3.04 MiB3.09 MiB+ 44.24 KiB
/0.380 s0.203 s-0.177 s2.96 MiB2.94 MiB- 18.25 KiB
Average 0.407 s0.358 s-0.048 s3.44 MiB3.48 MiB+ 44.36 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
CSS57.6%3,35913
PHP36.7%2,14344812
JavaScript5.6%328162
SVG0.1%401
Total 5,834 465 18

PHP Code Analysis | More results »

Lines of code 1,599
Total complexity 452
Median class complexity 143.0
Median method complexity 4.0
Most complex class Disable_Comments
Most complex function DisableComments_Plugin_Tracker::send_data()
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