Disable Comments 2.3.3

Does Disable Comments work with WordPress 5.9.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: 51.67 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.9.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=145d06f7ea
Aspect after-activation
HTTP status 200
Load time 0.635 s
Memory usage 3.38 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.432 s
Memory usage 3.37 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.28 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.258 s
Memory usage 3.38 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.470 s0.284 s-0.186 s3.37 MiB3.41 MiB+ 45.39 KiB
/wp-admin/edit.php0.196 s0.199 s+0.003 s3.4 MiB3.44 MiB+ 43.95 KiB
/wp-admin/post-new.php1.017 s1.321 s+0.304 s6.15 MiB6.19 MiB+ 45.02 KiB
/wp-admin/upload.php0.424 s0.323 s-0.101 s3.25 MiB3.3 MiB+ 51.52 KiB
/wp-admin/options-writing.php0.289 s0.151 s-0.138 s3.24 MiB3.28 MiB+ 35.38 KiB
/wp-admin/media-new.php0.289 s0.365 s+0.076 s3.23 MiB3.28 MiB+ 51.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.205 s0.241 s+0.036 s3.27 MiB3.37 MiB+ 108.6 KiB
/wp-admin/post-new.php?post_type=page0.911 s0.856 s-0.055 s6.15 MiB6.19 MiB+ 44.6 KiB
/wp-admin/options-discussion.php0.246 s0.241 s-0.005 s3.22 MiB3.27 MiB+ 52.01 KiB
/wp-admin/edit-comments.php0.222 s0.237 s+0.015 s3.27 MiB3.37 MiB+ 108.24 KiB
/0.380 s0.305 s-0.075 s3.4 MiB3.38 MiB- 18.03 KiB
Average 0.423 s0.411 s-0.011 s3.81 MiB3.86 MiB+ 51.67 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.1%3,37513
PHP37.2%2,19945112
JavaScript5.6%328162
SVG0.1%401
Total 5,906 468 18

PHP Code Analysis | More results »

Lines of code 1,630
Total complexity 458
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