DX Delete Attached Media 2.0.5

Does DX Delete Attached Media work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP notices
2PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 11.37 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.2.2
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/dx-delete-attached-media/
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=dx-delete-attached-media%2Fdx-delete-attached-media.php&plugin_status=all&paged=1&s&_wpnonce=804fc69c0d
Aspect after-activation
HTTP status 200
Load time 0.258 s
Memory usage 3.04 MiB
JS errors None
Resource errors None

DX Delete Attached Media

Page screenshot: DX Delete Attached Media
URL /wp-admin/admin.php?page=dx-dam-options
Aspect menu-item
HTTP status 200
Load time 0.153 s
Memory usage 3.14 MiB
JS errors None
Resource errors None

DX Delete Attached Media → Help page

Page screenshot: DX Delete Attached Media → Help page
URL /wp-admin/admin.php?page=dx_dam_help
Aspect menu-item
HTTP status 200
Load time 0.314 s
Memory usage 3.04 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.203 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.304 s0.238 s-0.066 s3.07 MiB3.09 MiB+ 20.91 KiB
/wp-admin/edit.php0.195 s0.188 s-0.007 s3.1 MiB3.12 MiB+ 20.91 KiB
/wp-admin/post-new.php0.751 s0.595 s-0.156 s5.02 MiB5.04 MiB+ 19.77 KiB
/wp-admin/upload.php0.559 s0.475 s-0.084 s3.02 MiB3.02 MiB+ 3.55 KiB
/wp-admin/options-writing.php0.178 s0.162 s-0.016 s3.01 MiB3 MiB- 8.18 KiB
/wp-admin/media-new.php0.363 s0.203 s-0.160 s2.99 MiB3.01 MiB+ 15.38 KiB
/wp-admin/edit-tags.php?taxonomy=category0.203 s0.205 s+0.002 s3.01 MiB3.03 MiB+ 20.86 KiB
/wp-admin/post-new.php?post_type=page0.626 s0.583 s-0.043 s5.01 MiB5.03 MiB+ 15.36 KiB
/wp-admin/options-discussion.php0.219 s0.232 s+0.013 s3 MiB3 MiB+ 5.55 KiB
/wp-admin/edit-comments.php0.222 s0.217 s-0.005 s3.03 MiB3.03 MiB+ 3.22 KiB
/0.317 s0.217 s-0.100 s2.97 MiB2.98 MiB+ 7.73 KiB
Average 0.358 s0.301 s-0.057 s3.38 MiB3.4 MiB+ 11.37 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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP56.3%5701163
CSS26.4%26701
JavaScript13.3%13501
PO File2.4%2481
SVG1.6%1601
Total 1,012 124 7

PHP Code Analysis | More results »

Lines of code 460
Total complexity 70
Median class complexity 33.0
Median method complexity 1.0
Most complex class DX_DAM_List
Most complex function DX_DAM_List::get_data()
Classes 1
Methods 6
Functions 13

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 3 lines

[23-May-2023 08:50:56 UTC] PHP Notice:  Function add_theme_support( 'title-tag' ) was called <strong>incorrectly</strong>. Theme support for <code>title-tag</code> should be registered before the <code>wp_loaded</code> hook. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.1.0.) in /wp-includes/functions.php on line 5865
[23-May-2023 08:50:58 UTC] PHP Deprecated:  number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /wp-includes/functions.php on line 423
[23-May-2023 08:50:58 UTC] PHP Deprecated:  number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /wp-includes/functions.php on line 423
See also: All tests for this plugin, How to Hide DX Delete Attached Media Admin Menus