Disable Comments 2.6.1

Does Disable Comments work with WordPress 6.9 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
4PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 47.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 version6.9
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=af58d84983
Aspect after-activation
HTTP status 200
Load time 0.368 s
Memory usage 3.78 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.523 s
Memory usage 3.84 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.357 s
Memory usage 3.75 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.239 s
Memory usage 4.15 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.527 s0.498 s-0.029 s3.78 MiB3.83 MiB+ 53.44 KiB
/wp-admin/edit.php0.365 s0.330 s-0.035 s3.78 MiB3.83 MiB+ 51.7 KiB
/wp-admin/post-new.php0.868 s0.884 s+0.016 s6.31 MiB6.38 MiB+ 75.92 KiB
/wp-admin/upload.php0.690 s0.434 s-0.256 s3.74 MiB3.77 MiB+ 34.29 KiB
/wp-admin/options-writing.php0.345 s0.321 s-0.024 s3.71 MiB3.75 MiB+ 38.28 KiB
/wp-admin/media-new.php0.512 s0.417 s-0.095 s3.7 MiB3.75 MiB+ 46.48 KiB
/wp-admin/edit-tags.php?taxonomy=category0.336 s0.328 s-0.008 s3.72 MiB3.77 MiB+ 57.15 KiB
/wp-admin/post-new.php?post_type=page0.685 s0.728 s+0.043 s6.3 MiB6.36 MiB+ 68.34 KiB
/wp-admin/options-discussion.php0.338 s0.325 s-0.013 s3.71 MiB3.75 MiB+ 34.78 KiB
/wp-admin/edit-comments.php0.326 s0.323 s-0.003 s3.73 MiB3.77 MiB+ 34.28 KiB
/0.271 s0.201 s-0.070 s4.12 MiB4.15 MiB+ 33.12 KiB
Average 0.478 s0.435 s-0.043 s4.24 MiB4.28 MiB+ 47.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
CSS47.9%3,36293
PHP45.4%3,18371712
JavaScript6.6%466222
SVG0.1%401
Total 7,015 748 18

PHP Code Analysis | More results »

Lines of code 2,146
Total complexity 594
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 105
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 4 lines

[02-Dec-2025 21:02:37 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[02-Dec-2025 21:02:37 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[02-Dec-2025 21:02:46 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[02-Dec-2025 21:02:46 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
See also: All tests for this plugin, How to Hide Disable Comments Admin Menus