WP SVG Images 4.1

Does WP SVG Images work with WordPress 6.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: 125 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 version6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 30,000+
WordPress.org page https://wordpress.org/plugins/wp-svg-images/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

SVG images ‹ Test site — WordPress

Page screenshot: SVG images ‹ Test site — WordPress
URL /wp-admin/options-general.php?page=wp-svg-images.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=wp-svg-images%2Fwp-svg-images.php&plugin_status=all&paged=1&s&_wpnonce=9a31a9bda8
Aspect after-activation
HTTP status 200
Load time 0.280 s
Memory usage 3.12 MiB
JS errors None
Resource errors None

Settings → SVG images

Page screenshot: Settings → SVG images
URL /wp-admin/options-general.php?page=wp-svg-images.php
Aspect menu-item
HTTP status 200
Load time 0.232 s
Memory usage 3.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.226 s
Memory usage 3.02 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.693 s0.230 s-0.463 s3.07 MiB3.2 MiB+ 135.85 KiB
/wp-admin/edit.php0.196 s0.181 s-0.015 s3.1 MiB3.22 MiB+ 119.48 KiB
/wp-admin/post-new.php0.750 s0.937 s+0.187 s5.02 MiB5.23 MiB+ 219.38 KiB
/wp-admin/upload.php0.532 s0.322 s-0.210 s3.02 MiB3.15 MiB+ 135.23 KiB
/wp-admin/options-writing.php0.167 s0.141 s-0.026 s3.01 MiB3.09 MiB+ 74.77 KiB
/wp-admin/media-new.php0.272 s0.185 s-0.087 s2.99 MiB3.09 MiB+ 98.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.228 s0.172 s-0.056 s3.01 MiB3.12 MiB+ 119.49 KiB
/wp-admin/post-new.php?post_type=page0.603 s0.750 s+0.147 s5.01 MiB5.22 MiB+ 210.96 KiB
/wp-admin/options-discussion.php0.205 s0.266 s+0.061 s3 MiB3.1 MiB+ 104.5 KiB
/wp-admin/edit-comments.php0.226 s0.187 s-0.039 s3.03 MiB3.13 MiB+ 102.13 KiB
/0.295 s0.170 s-0.125 s2.97 MiB3.02 MiB+ 54.25 KiB
Average 0.379 s0.322 s-0.057 s3.38 MiB3.51 MiB+ 125 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
Language % Lines of code Comment lines Files
PHP98.6%1,56346513
JavaScript1.3%2001
CSS0.1%101
SVG0.1%101
Total 1,585 465 16

PHP Code Analysis | More results »

Lines of code 1,537
Total complexity 235
Median class complexity 6.5
Median method complexity 1.0
Most complex class WPSVG
Most complex function enshrined\svgSanitize\data\AllowedAttributes::getAttributes()
Classes 12
Methods 86
Functions 1

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.

User Metadata wp_usermeta 1

PHP Error Log

The log file is empty.

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