WP Attachments 5.0.6

Does WP Attachments work with WordPress 6.5.2 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: 13.02 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.034 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 5,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=e5d29379b2
Aspect after-activation
HTTP status 200
Load time 0.551 s
Memory usage 3.4 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.926 s
Memory usage 3.39 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.569 s
Memory usage 3.36 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.334 s
Memory usage 3.37 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.748 s
Memory usage 5.62 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.594 s
Memory usage 5.61 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.477 s0.423 s-0.054 s3.43 MiB3.46 MiB+ 24.7 KiB
/wp-admin/edit.php0.265 s0.287 s+0.022 s3.46 MiB3.48 MiB+ 25.07 KiB
/wp-admin/post-new.php1.032 s1.450 s+0.418 s5.59 MiB5.62 MiB+ 34.59 KiB
/wp-admin/upload.php0.715 s0.682 s-0.033 s3.38 MiB3.39 MiB+ 8.88 KiB
/wp-admin/options-writing.php0.271 s0.284 s+0.013 s3.37 MiB3.37 MiB+ 464 bytes
/wp-admin/media-new.php0.370 s0.295 s-0.075 s3.35 MiB3.37 MiB+ 20.68 KiB
/wp-admin/edit-tags.php?taxonomy=category0.252 s0.227 s-0.025 s3.37 MiB3.39 MiB+ 25.02 KiB
/wp-admin/post-new.php?post_type=page0.738 s0.849 s+0.111 s5.58 MiB5.61 MiB+ 30.17 KiB
/wp-admin/options-discussion.php0.421 s0.514 s+0.093 s3.36 MiB3.37 MiB+ 8.98 KiB
/wp-admin/edit-comments.php0.329 s0.282 s-0.047 s3.39 MiB3.4 MiB+ 7.65 KiB
/0.385 s0.335 s-0.050 s3.42 MiB3.37 MiB- 43.01 KiB
Average 0.478 s0.512 s+0.034 s3.79 MiB3.8 MiB+ 13.02 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

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