Disable Comments 2.4.5

Does Disable Comments work with WordPress 6.4.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: 37.04 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.4.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=4ed78a52dd
Aspect after-activation
HTTP status 200
Load time 0.414 s
Memory usage 3.37 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.389 s
Memory usage 3.45 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.214 s
Memory usage 3.34 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.209 s
Memory usage 3.34 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.326 s0.364 s+0.038 s3.38 MiB3.43 MiB+ 50.31 KiB
/wp-admin/edit.php0.204 s0.204 s+0.000 s3.41 MiB3.46 MiB+ 49.95 KiB
/wp-admin/post-new.php0.919 s0.637 s-0.282 s5.46 MiB5.51 MiB+ 54.57 KiB
/wp-admin/upload.php0.679 s0.448 s-0.231 s3.32 MiB3.36 MiB+ 32.58 KiB
/wp-admin/options-writing.php0.224 s0.221 s-0.003 s3.32 MiB3.34 MiB+ 25.16 KiB
/wp-admin/media-new.php0.325 s0.326 s+0.001 s3.3 MiB3.34 MiB+ 44.77 KiB
/wp-admin/edit-tags.php?taxonomy=category0.210 s0.203 s-0.007 s3.31 MiB3.36 MiB+ 49.94 KiB
/wp-admin/post-new.php?post_type=page0.583 s0.544 s-0.039 s5.45 MiB5.5 MiB+ 54.16 KiB
/wp-admin/options-discussion.php0.302 s0.316 s+0.014 s3.3 MiB3.34 MiB+ 33.07 KiB
/wp-admin/edit-comments.php0.254 s0.224 s-0.030 s3.34 MiB3.37 MiB+ 33.3 KiB
/0.286 s0.190 s-0.096 s3.36 MiB3.34 MiB- 20.37 KiB
Average 0.392 s0.334 s-0.058 s3.72 MiB3.76 MiB+ 37.04 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.

PHP
JavaScript
Language % Lines of code Comment lines Files
PHP82.0%2,34845612
JavaScript14.5%414152
CSS3.4%9613
SVG0.1%401
Total 2,862 472 18

PHP Code Analysis | More results »

Lines of code 1,753
Total complexity 491
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 92
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