Disable Comments 2.5.3

Does Disable Comments work with WordPress 6.8.3 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: 43.63 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.8.3
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=4783ccd63f
Aspect after-activation
HTTP status 200
Load time 0.367 s
Memory usage 3.57 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.376 s
Memory usage 3.61 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.215 s
Memory usage 3.54 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.169 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.348 s0.312 s-0.036 s3.51 MiB3.56 MiB+ 51.98 KiB
/wp-admin/edit.php0.198 s0.188 s-0.010 s3.57 MiB3.62 MiB+ 50.55 KiB
/wp-admin/post-new.php0.760 s0.637 s-0.123 s6.06 MiB6.11 MiB+ 54.64 KiB
/wp-admin/upload.php0.564 s0.353 s-0.211 s3.52 MiB3.56 MiB+ 33.14 KiB
/wp-admin/options-writing.php0.224 s0.412 s+0.188 s3.5 MiB3.54 MiB+ 37.13 KiB
/wp-admin/media-new.php0.272 s0.220 s-0.052 s3.49 MiB3.54 MiB+ 45.33 KiB
/wp-admin/edit-tags.php?taxonomy=category0.241 s0.186 s-0.055 s3.5 MiB3.56 MiB+ 56 KiB
/wp-admin/post-new.php?post_type=page0.601 s0.551 s-0.050 s6.05 MiB6.1 MiB+ 50.16 KiB
/wp-admin/options-discussion.php0.263 s0.283 s+0.020 s3.5 MiB3.54 MiB+ 33.63 KiB
/wp-admin/edit-comments.php0.457 s0.215 s-0.242 s3.52 MiB3.56 MiB+ 33.13 KiB
/0.302 s0.195 s-0.107 s3.43 MiB3.47 MiB+ 34.27 KiB
Average 0.385 s0.323 s-0.062 s3.97 MiB4.01 MiB+ 43.63 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
CSS49.7%3,32483
PHP43.5%2,90957012
JavaScript6.8%453202
SVG0.1%401
Total 6,690 598 18

PHP Code Analysis | More results »

Lines of code 1,955
Total complexity 537
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 98
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