WP Attachments 5.0.5

Does WP Attachments work with WordPress 6.1.1 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: 20.49 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.1.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 4,000+
WordPress.org page https://wordpress.org/plugins/wp-attachments/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=wp-attachments%2Fwp-attachments.php&plugin_status=all&paged=1&s&_wpnonce=76daecda88
Aspect after-activation
HTTP status 200
Load time 0.243 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Settings → WP Attachments

Page screenshot: Settings → WP Attachments
URL /wp-admin/options-general.php?page=wpatt-option-page
Aspect menu-item
HTTP status 200
Load time 0.707 s
Memory usage 3.4 MiB
JS errors None
Resource errors None

Settings → WP Attachments → Appearance

Page screenshot: Settings → WP Attachments → Appearance
URL /wp-admin/options-general.php?page=wpatt-option-page&tab=appearance
Aspect menu-item-tab
HTTP status 200
Load time 0.461 s
Memory usage 3.4 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.231 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.624 s
Memory usage 5.5 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.586 s
Memory usage 5.48 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.318 s0.227 s-0.091 s3.54 MiB3.56 MiB+ 21.28 KiB
/wp-admin/edit.php0.167 s0.214 s+0.047 s3.57 MiB3.59 MiB+ 21.28 KiB
/wp-admin/post-new.php0.731 s0.920 s+0.189 s5.46 MiB5.5 MiB+ 34.53 KiB
/wp-admin/upload.php0.311 s0.260 s-0.051 s3.41 MiB3.49 MiB+ 85.22 KiB
/wp-admin/options-writing.php0.223 s0.139 s-0.084 s3.4 MiB3.4 MiB+ 2.48 KiB
/wp-admin/media-new.php0.251 s0.190 s-0.061 s3.38 MiB3.4 MiB+ 20.18 KiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.175 s-0.005 s3.48 MiB3.5 MiB+ 20.26 KiB
/wp-admin/post-new.php?post_type=page0.630 s0.766 s+0.136 s5.46 MiB5.48 MiB+ 25.15 KiB
/wp-admin/options-discussion.php0.198 s0.231 s+0.033 s3.38 MiB3.4 MiB+ 20.49 KiB
/wp-admin/edit-comments.php0.198 s0.200 s+0.002 s3.48 MiB3.5 MiB+ 19.16 KiB
/0.270 s0.204 s-0.066 s3.46 MiB3.42 MiB- 44.64 KiB
Average 0.316 s0.321 s+0.004 s3.82 MiB3.84 MiB+ 20.49 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
PHP86.7%8241127
JavaScript8.6%82641
CSS4.6%4432
Total 950 179 10

PHP Code Analysis | More results »

Lines of code 831
Total complexity 134
Median class complexity 26.0
Median method complexity 2.0
Most complex class IJ_Post_Attachments
Most complex function wpatt_plugin_options()
Classes 1
Methods 10
Functions 18

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 5

User Metadata wp_usermeta 1

Meta Boxes

{
    "post": {
        "wpa-attachments": {
            "title": "Media",
            "context": "normal"
        }
    },
    "page": {
        "wpa-attachments": {
            "title": "Media",
            "context": "normal"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide WP Attachments Admin Menus and Meta Boxes