SVG Support 2.5.15

Does SVG Support work with WordPress 7.0 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: 83.26 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 version7.0
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000,000+
WordPress.org page https://wordpress.org/plugins/svg-support/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=svg-support%2Fsvg-support.php&plugin_status=all&paged=1&s&_wpnonce=efca76a9b6
Aspect after-activation
HTTP status 200
Load time 0.934 s
Memory usage 3.96 MiB
JS errors None
Resource errors None

Settings → SVG Support

Page screenshot: Settings → SVG Support
URL /wp-admin/options-general.php?page=svg-support
Aspect menu-item
HTTP status 200
Load time 0.522 s
Memory usage 4.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.220 s
Memory usage 4.32 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php1.019 s0.801 s-0.218 s3.92 MiB4 MiB+ 81.95 KiB
/wp-admin/edit.php0.527 s0.515 s-0.012 s3.98 MiB4.06 MiB+ 81.95 KiB
/wp-admin/post-new.php2.079 s1.806 s-0.273 s6.56 MiB6.67 MiB+ 112.52 KiB
/wp-admin/upload.php0.688 s0.694 s+0.006 s3.89 MiB3.95 MiB+ 65.13 KiB
/wp-admin/options-writing.php0.556 s0.516 s-0.040 s3.86 MiB3.93 MiB+ 67.8 KiB
/wp-admin/media-new.php0.937 s0.965 s+0.028 s3.85 MiB3.93 MiB+ 75.99 KiB
/wp-admin/edit-tags.php?taxonomy=category0.508 s0.523 s+0.015 s3.86 MiB3.94 MiB+ 81.16 KiB
/wp-admin/post-new.php?post_type=page1.406 s1.377 s-0.029 s6.55 MiB6.65 MiB+ 108.04 KiB
/wp-admin/options-discussion.php0.632 s0.558 s-0.074 s3.86 MiB3.93 MiB+ 64.3 KiB
/wp-admin/edit-comments.php0.545 s0.507 s-0.038 s3.88 MiB3.97 MiB+ 84.44 KiB
/0.271 s0.193 s-0.078 s4.23 MiB4.32 MiB+ 92.62 KiB
Average 0.833 s0.769 s-0.065 s4.4 MiB4.49 MiB+ 83.26 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
Sass
PO File
Language % Lines of code Comment lines Files
PHP47.4%1,47649117
JavaScript25.8%804974
Sass13.6%42395
PO File11.8%367962
JSON1.3%3901
CSS0.1%404
Total 3,113 693 33

PHP Code Analysis | More results »

Lines of code 1,039
Total complexity 212
Median class complexity 1.0
Median method complexity 1.0
Most complex class bodhi_svg_attributes
Most complex function bodhi_svgs_sanitize_svg()
Classes 3
Methods 3
Functions 54

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 2

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "SVG Support" Admin Menu