Downloads for logged in users 0.8.20260511

Does Downloads for logged in users work with WordPress 6.9.4 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: 52.9 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.4
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/downloads-for-logged-in-users/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=downloads-for-logged-in-users%2Fdownloads-for-logged-in-users.php&plugin_status=all&paged=1&s&_wpnonce=4e901aaaae
Aspect after-activation
HTTP status 200
Load time 0.334 s
Memory usage 3.76 MiB
JS errors None
Resource errors None

Downloads

Page screenshot: Downloads
URL /wp-admin/edit.php?post_type=dcwd_simple_download
Aspect menu-item
HTTP status 200
Load time 0.288 s
Memory usage 3.8 MiB
JS errors None
Resource errors None

Downloads → Add new download

Page screenshot: Downloads → Add new download
URL /wp-admin/post-new.php?post_type=dcwd_simple_download
Aspect menu-item
HTTP status 200
Load time 0.326 s
Memory usage 3.82 MiB
JS errors None
Resource errors None

Downloads → Categories

Page screenshot: Downloads → Categories
URL /wp-admin/edit-tags.php?taxonomy=category&post_type=dcwd_simple_download
Aspect menu-item
HTTP status 200
Load time 0.296 s
Memory usage 3.76 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.189 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.362 s0.422 s+0.060 s3.78 MiB3.82 MiB+ 40.95 KiB
/wp-admin/edit.php0.339 s0.300 s-0.039 s3.78 MiB3.82 MiB+ 40.19 KiB
/wp-admin/post-new.php0.831 s0.796 s-0.035 s6.31 MiB6.45 MiB+ 145.88 KiB
/wp-admin/upload.php0.414 s0.341 s-0.073 s3.74 MiB3.76 MiB+ 22.67 KiB
/wp-admin/options-writing.php0.477 s0.288 s-0.189 s3.71 MiB3.74 MiB+ 26.66 KiB
/wp-admin/media-new.php0.472 s0.463 s-0.009 s3.7 MiB3.74 MiB+ 34.86 KiB
/wp-admin/edit-tags.php?taxonomy=category0.337 s0.272 s-0.065 s3.72 MiB3.76 MiB+ 45.53 KiB
/wp-admin/post-new.php?post_type=page0.670 s0.649 s-0.021 s6.3 MiB6.43 MiB+ 139.36 KiB
/wp-admin/options-discussion.php0.305 s0.299 s-0.006 s3.71 MiB3.74 MiB+ 23.16 KiB
/wp-admin/edit-comments.php0.330 s0.301 s-0.029 s3.73 MiB3.76 MiB+ 22.66 KiB
/0.270 s0.171 s-0.099 s4.11 MiB4.15 MiB+ 39.94 KiB
Average 0.437 s0.391 s-0.046 s4.24 MiB4.29 MiB+ 52.9 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
Language % Lines of code Comment lines Files
PHP94.1%285621
JavaScript4.6%1421
CSS1.3%401
Total 303 64 3

PHP Code Analysis | More results »

Lines of code 285
Total complexity 67
Median class complexity 66.0
Median method complexity 2.0
Most complex class DownloadsForLoggedInUsers
Most complex function DownloadsForLoggedInUsers::save_file_metabox()
Classes 1
Methods 21
Functions 1

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.

Custom Post Types 1

ID Name
dcwd_simple_downloadDownloads

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Downloads for logged in users Admin Menus