Disable Comments 2.1.0

Does Disable Comments work with WordPress 5.7 and PHP 7.4.8? 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: 42.56 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 version5.7
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=cdc7503c18
Aspect after-activation
HTTP status 200
Load time 0.285 s
Memory usage 2.82 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.426 s
Memory usage 2.81 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.250 s
Memory usage 2.72 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.188 s
Memory usage 2.68 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.263 s0.244 s-0.019 s2.82 MiB2.86 MiB+ 45.08 KiB
/wp-admin/edit.php0.173 s0.322 s+0.149 s2.86 MiB2.91 MiB+ 45.08 KiB
/wp-admin/post-new.php0.895 s0.971 s+0.076 s5.02 MiB5.14 MiB+ 121.44 KiB
/wp-admin/upload.php0.472 s0.360 s-0.112 s2.7 MiB2.74 MiB+ 43.95 KiB
/wp-admin/options-writing.php0.148 s0.152 s+0.004 s2.71 MiB2.72 MiB+ 11.92 KiB
/wp-admin/media-new.php0.225 s0.177 s-0.048 s2.67 MiB2.72 MiB+ 44.12 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.202 s+0.012 s2.77 MiB2.81 MiB+ 45.02 KiB
/wp-admin/post-new.php?post_type=page1.167 s0.743 s-0.424 s5.01 MiB5.06 MiB+ 53.02 KiB
/wp-admin/options-discussion.php0.293 s0.229 s-0.064 s2.67 MiB2.72 MiB+ 44.43 KiB
/wp-admin/edit-comments.php0.240 s0.248 s+0.008 s2.78 MiB2.82 MiB+ 43.93 KiB
/0.286 s0.242 s-0.044 s2.71 MiB2.68 MiB- 29.84 KiB
Average 0.396 s0.354 s-0.042 s3.16 MiB3.2 MiB+ 42.56 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
PO File
Language % Lines of code Comment lines Files
CSS46.4%2,80712
PHP31.6%1,91443811
PO File19.6%1,19029910
JavaScript2.4%14582
Total 6,056 746 25

PHP Code Analysis | More results »

Lines of code 1,457
Total complexity 403
Median class complexity 142.0
Median method complexity 4.0
Most complex class Disable_Comments
Most complex function DisableComments_Plugin_Tracker::send_data()
Classes 3
Methods 85
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 1

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Disable Comments Admin Menus