Enable Media Replace 3.6.1

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.55 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=d58ee1a2aa
Aspect after-activation
HTTP status 200
Load time 0.412 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.292 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.329 s0.286 s-0.043 s3.08 MiB3.12 MiB+ 42.07 KiB
/wp-admin/edit.php0.186 s0.181 s-0.005 s3.11 MiB3.22 MiB+ 106.05 KiB
/wp-admin/post-new.php1.202 s1.053 s-0.149 s5.27 MiB5.32 MiB+ 54.86 KiB
/wp-admin/upload.php0.404 s0.336 s-0.068 s3.03 MiB3.07 MiB+ 40.92 KiB
/wp-admin/options-writing.php0.157 s0.138 s-0.019 s3.02 MiB3.05 MiB+ 24.9 KiB
/wp-admin/media-new.php0.416 s0.192 s-0.224 s3.01 MiB3.05 MiB+ 41.09 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.180 s-0.004 s3.04 MiB3.08 MiB+ 42 KiB
/wp-admin/post-new.php?post_type=page0.868 s1.021 s+0.153 s5.26 MiB5.31 MiB+ 50.45 KiB
/wp-admin/options-discussion.php0.215 s0.262 s+0.047 s3 MiB3.04 MiB+ 41.72 KiB
/wp-admin/edit-comments.php0.201 s0.203 s+0.002 s3.04 MiB3.08 MiB+ 40.95 KiB
/0.293 s0.203 s-0.090 s2.91 MiB2.94 MiB+ 26.99 KiB
Average 0.405 s0.369 s-0.036 s3.43 MiB3.48 MiB+ 46.55 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.8%3,14146722
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,542 810 51

PHP Code Analysis | More results »

Lines of code 2,597
Total complexity 602
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