SVG Support 2.5.14

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: 79.69 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.040 seconds
The average page load time increased by this amount after activating the plugin.

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=fae15230e2
Aspect after-activation
HTTP status 200
Load time 0.997 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.531 s
Memory usage 4.08 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.225 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.php0.683 s0.605 s-0.078 s3.92 MiB4 MiB+ 80.32 KiB
/wp-admin/edit.php0.547 s0.731 s+0.184 s3.98 MiB4.06 MiB+ 80.32 KiB
/wp-admin/post-new.php2.235 s2.169 s-0.066 s6.56 MiB6.66 MiB+ 110.16 KiB
/wp-admin/upload.php0.747 s0.721 s-0.026 s3.89 MiB3.95 MiB+ 63.51 KiB
/wp-admin/options-writing.php0.583 s0.534 s-0.049 s3.86 MiB3.93 MiB+ 66.17 KiB
/wp-admin/media-new.php0.713 s0.553 s-0.160 s3.85 MiB3.93 MiB+ 74.37 KiB
/wp-admin/edit-tags.php?taxonomy=category0.536 s0.985 s+0.449 s3.86 MiB3.94 MiB+ 79.54 KiB
/wp-admin/post-new.php?post_type=page1.892 s1.586 s-0.306 s6.55 MiB6.65 MiB+ 105.68 KiB
/wp-admin/options-discussion.php0.666 s1.108 s+0.442 s3.86 MiB3.93 MiB+ 62.67 KiB
/wp-admin/edit-comments.php0.548 s0.651 s+0.103 s3.88 MiB3.95 MiB+ 62.81 KiB
/0.324 s0.272 s-0.052 s4.23 MiB4.32 MiB+ 90.99 KiB
Average 0.861 s0.901 s+0.040 s4.41 MiB4.48 MiB+ 79.69 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
PHP46.3%1,46847117
JavaScript25.4%804974
Sass13.3%42395
PO File11.6%367962
Markdown2.1%6601
JSON1.2%3901
CSS0.1%404
Total 3,171 673 34

PHP Code Analysis | More results »

Lines of code 1,031
Total complexity 208
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 53

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