Enable Media Replace 3.6.2

Does Enable Media Replace work with WordPress 5.8.2 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: 42.21 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 version5.8.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 600,000+
WordPress.org page https://wordpress.org/plugins/enable-media-replace/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

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=enable-media-replace%2Fenable-media-replace.php&plugin_status=all&paged=1&s&_wpnonce=97a4bb7ab9
Aspect after-activation
HTTP status 200
Load time 0.389 s
Memory usage 3.09 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.320 s
Memory usage 2.94 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.325 s0.296 s-0.029 s3.08 MiB3.12 MiB+ 42.07 KiB
/wp-admin/edit.php0.178 s0.186 s+0.008 s3.11 MiB3.22 MiB+ 106.05 KiB
/wp-admin/post-new.php0.854 s1.063 s+0.209 s5.27 MiB5.32 MiB+ 54.86 KiB
/wp-admin/upload.php0.632 s0.302 s-0.330 s3.03 MiB3.07 MiB+ 40.92 KiB
/wp-admin/options-writing.php0.169 s0.142 s-0.027 s3.02 MiB3.05 MiB+ 24.9 KiB
/wp-admin/media-new.php0.407 s0.196 s-0.211 s3.01 MiB3.05 MiB+ 41.09 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.190 s-0.008 s3.04 MiB3.08 MiB+ 42 KiB
/wp-admin/post-new.php?post_type=page1.088 s0.883 s-0.205 s5.26 MiB5.31 MiB+ 50.45 KiB
/wp-admin/options-discussion.php0.224 s0.287 s+0.063 s3 MiB3.04 MiB+ 41.72 KiB
/wp-admin/edit-comments.php0.211 s0.211 s+0.000 s3.04 MiB3.08 MiB+ 40.95 KiB
/0.315 s0.201 s-0.114 s2.96 MiB2.94 MiB- 20.67 KiB
Average 0.418 s0.360 s-0.059 s3.44 MiB3.48 MiB+ 42.21 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
SVG
Sass
PO File
Language % Lines of code Comment lines Files
PHP36.7%3,13647422
CSS20.2%1,722164
SVG19.3%1,65033
Sass9.8%838114
PO File8.8%75529412
JavaScript4.3%370192
JSON0.6%4903
Markdown0.2%1701
Total 8,537 817 51

PHP Code Analysis | More results »

Lines of code 2,592
Total complexity 595
Median class complexity 52.0
Median method complexity 2.0
Most complex class EnableMediaReplace\Replacer
Most complex function EnableMediaReplace\Notices\NoticeModel::getForDisplay()
Classes 11
Methods 160
Functions 11

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.

Meta Boxes

{
    "attachment": {
        "emr-replace-box": {
            "title": "Replace Media",
            "context": "side"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin