Disable Comments 2.7.0

Does Disable Comments work with WordPress 7.0.2 and PHP 8.1.12? 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: 48.97 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.108 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version7.0.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=65b32177e3
Aspect after-activation
HTTP status 200
Load time 1.133 s
Memory usage 3.93 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.784 s
Memory usage 3.98 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.550 s
Memory usage 3.9 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.247 s
Memory usage 4.26 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.681 s1.447 s+0.766 s3.92 MiB3.98 MiB+ 54 KiB
/wp-admin/edit.php0.550 s0.873 s+0.323 s3.98 MiB4.03 MiB+ 53.27 KiB
/wp-admin/post-new.php2.412 s2.359 s-0.053 s6.56 MiB6.63 MiB+ 77.69 KiB
/wp-admin/upload.php0.815 s0.736 s-0.079 s3.89 MiB3.92 MiB+ 35.44 KiB
/wp-admin/options-writing.php0.618 s0.614 s-0.004 s3.86 MiB3.9 MiB+ 39.12 KiB
/wp-admin/media-new.php0.709 s1.007 s+0.298 s3.85 MiB3.9 MiB+ 47.31 KiB
/wp-admin/edit-tags.php?taxonomy=category0.536 s0.574 s+0.038 s3.86 MiB3.92 MiB+ 52.48 KiB
/wp-admin/post-new.php?post_type=page1.941 s1.912 s-0.029 s6.55 MiB6.62 MiB+ 73.22 KiB
/wp-admin/options-discussion.php0.674 s0.639 s-0.035 s3.86 MiB3.9 MiB+ 35.62 KiB
/wp-admin/edit-comments.php0.568 s0.589 s+0.021 s3.88 MiB3.92 MiB+ 36.49 KiB
/0.312 s0.257 s-0.055 s4.23 MiB4.26 MiB+ 33.99 KiB
Average 0.892 s1.001 s+0.108 s4.4 MiB4.45 MiB+ 48.97 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
CSS47.5%3,36293
PHP45.7%3,23975012
JavaScript6.7%475222
SVG0.1%401
Total 7,080 781 18

PHP Code Analysis | More results »

Lines of code 2,202
Total complexity 616
Median class complexity 145.0
Median method complexity 4.0
Most complex class Disable_Comments
Most complex function Disable_Comments::disable_comments_settings()
Classes 3
Methods 106
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