WP Attachments 5.0.12

Does WP Attachments work with WordPress 6.8.1 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: 17 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=d0723f9985
Aspect after-activation
HTTP status 200
Load time 0.240 s
Memory usage 3.55 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.148 s
Memory usage 3.53 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.240 s
Memory usage 3.51 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.44 MiB
JS errors None
Resource errors None

Add Post ‹ Test site — WordPress

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

Add Page ‹ Test site — WordPress

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

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.329 s0.275 s-0.054 s3.51 MiB3.53 MiB+ 24.84 KiB
/wp-admin/edit.php0.193 s0.189 s-0.004 s3.57 MiB3.59 MiB+ 22.41 KiB
/wp-admin/post-new.php0.747 s0.651 s-0.096 s6.06 MiB6.09 MiB+ 32.77 KiB
/wp-admin/upload.php0.535 s0.495 s-0.040 s3.52 MiB3.53 MiB+ 5.01 KiB
/wp-admin/options-writing.php0.192 s0.200 s+0.008 s3.5 MiB3.51 MiB+ 9 KiB
/wp-admin/media-new.php0.257 s0.267 s+0.010 s3.49 MiB3.51 MiB+ 17.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.307 s+0.108 s3.5 MiB3.53 MiB+ 27.87 KiB
/wp-admin/post-new.php?post_type=page0.611 s0.550 s-0.061 s6.05 MiB6.08 MiB+ 28.29 KiB
/wp-admin/options-discussion.php0.289 s0.421 s+0.132 s3.5 MiB3.51 MiB+ 5.5 KiB
/wp-admin/edit-comments.php0.184 s0.193 s+0.009 s3.52 MiB3.53 MiB+ 5 KiB
/0.293 s0.186 s-0.107 s3.43 MiB3.44 MiB+ 9.13 KiB
Average 0.348 s0.339 s-0.009 s3.97 MiB3.99 MiB+ 17 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
PHP84.3%6761157
JavaScript10.2%82641
CSS5.5%4432
Total 802 182 10

PHP Code Analysis | More results »

Lines of code 671
Total complexity 130
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