SVG Support 2.6.0

Does SVG Support work with WordPress 7.0.2 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: 88.81 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.2
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=38c03f6af4
Aspect after-activation
HTTP status 200
Load time 1.018 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.757 s
Memory usage 4.04 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.251 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.793 s0.575 s-0.218 s3.92 MiB4.03 MiB+ 103.7 KiB
/wp-admin/edit.php0.597 s0.672 s+0.075 s3.98 MiB4.08 MiB+ 103.7 KiB
/wp-admin/post-new.php2.446 s1.593 s-0.853 s6.56 MiB6.67 MiB+ 114.27 KiB
/wp-admin/upload.php0.782 s0.714 s-0.068 s3.89 MiB3.95 MiB+ 66.89 KiB
/wp-admin/options-writing.php0.542 s0.534 s-0.008 s3.86 MiB3.93 MiB+ 69.55 KiB
/wp-admin/media-new.php0.576 s0.977 s+0.401 s3.85 MiB3.93 MiB+ 77.75 KiB
/wp-admin/edit-tags.php?taxonomy=category0.572 s0.520 s-0.052 s3.86 MiB3.95 MiB+ 85.18 KiB
/wp-admin/post-new.php?post_type=page1.890 s1.399 s-0.491 s6.55 MiB6.66 MiB+ 109.8 KiB
/wp-admin/options-discussion.php0.602 s0.662 s+0.060 s3.86 MiB3.93 MiB+ 66.05 KiB
/wp-admin/edit-comments.php0.526 s0.518 s-0.008 s3.88 MiB3.97 MiB+ 86.2 KiB
/0.289 s0.224 s-0.065 s4.23 MiB4.32 MiB+ 93.84 KiB
Average 0.874 s0.763 s-0.112 s4.4 MiB4.49 MiB+ 88.81 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
JavaScript
PO File
Language % Lines of code Comment lines Files
PHP48.7%1,36051616
CSS21.1%588445
JavaScript13.4%375744
PO File13.1%367962
SVG3.6%10104
Total 2,791 730 31

PHP Code Analysis | More results »

Lines of code 1,379
Total complexity 221
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 57

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