Disable Comments 2.2.3

Does Disable Comments work with WordPress 5.8.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: 44.98 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.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=5d2b9f61ba
Aspect after-activation
HTTP status 200
Load time 0.372 s
Memory usage 3.08 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.350 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.220 s
Memory usage 3.04 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.187 s
Memory usage 2.93 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.269 s0.244 s-0.025 s3.08 MiB3.12 MiB+ 41.08 KiB
/wp-admin/edit.php0.159 s0.171 s+0.012 s3.11 MiB3.22 MiB+ 105.08 KiB
/wp-admin/post-new.php0.696 s0.820 s+0.124 s5.27 MiB5.32 MiB+ 50.94 KiB
/wp-admin/upload.php0.341 s0.273 s-0.068 s3.03 MiB3.07 MiB+ 39.95 KiB
/wp-admin/options-writing.php0.303 s0.129 s-0.174 s3.02 MiB3.05 MiB+ 23.92 KiB
/wp-admin/media-new.php0.271 s0.178 s-0.093 s3.01 MiB3.05 MiB+ 40.12 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.270 s+0.083 s3.04 MiB3.08 MiB+ 41.02 KiB
/wp-admin/post-new.php?post_type=page1.054 s0.595 s-0.459 s5.26 MiB5.3 MiB+ 46.52 KiB
/wp-admin/options-discussion.php0.228 s0.219 s-0.009 s3 MiB3.04 MiB+ 40.43 KiB
/wp-admin/edit-comments.php0.188 s0.193 s+0.005 s3.04 MiB3.08 MiB+ 39.93 KiB
/0.258 s0.186 s-0.072 s2.91 MiB2.93 MiB+ 25.84 KiB
Average 0.359 s0.298 s-0.061 s3.43 MiB3.48 MiB+ 44.98 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
CSS55.9%2,90512
PHP39.6%2,05844511
JavaScript4.5%232152
Total 5,195 461 15

PHP Code Analysis | More results »

Lines of code 1,545
Total complexity 438
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 87
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 1

PHP Error Log

The log file is empty.

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