Disable Comments 2.7.1

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.22 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.061 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=1eefd7cdf7
Aspect after-activation
HTTP status 200
Load time 0.847 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.782 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.530 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.238 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.634 s0.765 s+0.131 s3.92 MiB3.98 MiB+ 53.07 KiB
/wp-admin/edit.php0.529 s0.557 s+0.028 s3.98 MiB4.03 MiB+ 52.34 KiB
/wp-admin/post-new.php1.981 s2.229 s+0.248 s6.56 MiB6.63 MiB+ 76.77 KiB
/wp-admin/upload.php0.710 s0.635 s-0.075 s3.89 MiB3.92 MiB+ 34.51 KiB
/wp-admin/options-writing.php0.524 s0.494 s-0.030 s3.86 MiB3.9 MiB+ 38.19 KiB
/wp-admin/media-new.php0.582 s0.563 s-0.019 s3.85 MiB3.9 MiB+ 46.38 KiB
/wp-admin/edit-tags.php?taxonomy=category0.488 s0.913 s+0.425 s3.86 MiB3.91 MiB+ 51.55 KiB
/wp-admin/post-new.php?post_type=page1.803 s1.684 s-0.119 s6.55 MiB6.62 MiB+ 72.29 KiB
/wp-admin/options-discussion.php0.746 s0.898 s+0.152 s3.86 MiB3.9 MiB+ 34.69 KiB
/wp-admin/edit-comments.php0.529 s0.537 s+0.008 s3.88 MiB3.92 MiB+ 35.56 KiB
/0.283 s0.201 s-0.082 s4.23 MiB4.26 MiB+ 35.05 KiB
Average 0.801 s0.861 s+0.061 s4.4 MiB4.45 MiB+ 48.22 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.3%3,36293
PHP45.9%3,26275012
JavaScript6.7%475222
SVG0.1%401
Total 7,103 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