Enable Media Replace 3.6.0

Does Enable Media Replace work with WordPress 5.8.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: 46.96 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.1
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=d2202ae590
Aspect after-activation
HTTP status 200
Load time 0.457 s
Memory usage 3.11 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.196 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.291 s0.255 s-0.036 s3.08 MiB3.12 MiB+ 42.07 KiB
/wp-admin/edit.php0.185 s0.217 s+0.032 s3.11 MiB3.22 MiB+ 106.05 KiB
/wp-admin/post-new.php0.773 s0.880 s+0.107 s5.27 MiB5.32 MiB+ 54.86 KiB
/wp-admin/upload.php0.514 s0.342 s-0.172 s3.03 MiB3.07 MiB+ 40.92 KiB
/wp-admin/options-writing.php0.156 s0.140 s-0.016 s3.02 MiB3.05 MiB+ 24.95 KiB
/wp-admin/media-new.php0.317 s0.187 s-0.130 s3.01 MiB3.05 MiB+ 41.15 KiB
/wp-admin/edit-tags.php?taxonomy=category0.230 s0.180 s-0.050 s3.04 MiB3.08 MiB+ 42.05 KiB
/wp-admin/post-new.php?post_type=page0.937 s0.697 s-0.240 s5.26 MiB5.31 MiB+ 54.86 KiB
/wp-admin/options-discussion.php0.222 s0.284 s+0.062 s3 MiB3.04 MiB+ 41.72 KiB
/wp-admin/edit-comments.php0.199 s0.197 s-0.002 s3.04 MiB3.08 MiB+ 40.95 KiB
/0.254 s0.221 s-0.033 s2.91 MiB2.94 MiB+ 26.99 KiB
Average 0.371 s0.327 s-0.043 s3.43 MiB3.48 MiB+ 46.96 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,13446622
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,535 809 51

PHP Code Analysis | More results »

Lines of code 2,594
Total complexity 600
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