ShortPixel Image Optimizer 6.1.4

Does ShortPixel Image Optimizer work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 258.33 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 300,000+
WordPress.org page https://wordpress.org/plugins/shortpixel-image-optimiser/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

ShortPixel Settings ‹ Test site — WordPress

Page screenshot: ShortPixel Settings ‹ Test site — WordPress
URL /wp-admin/options-general.php?page=wp-shortpixel-settings
Requested URL /wp-admin/plugins.php?action=activate&plugin=shortpixel-image-optimiser%2Fwp-shortpixel.php&plugin_status=all&paged=1&s&_wpnonce=d0ba717853
Aspect after-activation
HTTP status 200
Load time 2.089 s
Memory usage 4.44 MiB
JS errors None
Resource errors None

Media → Custom Media

Page screenshot: Media → Custom Media
URL /wp-admin/upload.php?page=wp-short-pixel-custom
Aspect menu-item
HTTP status 200
Load time 0.275 s
Memory usage 3.91 MiB
JS errors None
Resource errors None

Media → Bulk ShortPixel

Page screenshot: Media → Bulk ShortPixel
URL /wp-admin/upload.php?page=wp-short-pixel-bulk
Aspect menu-item
HTTP status 200
Load time 0.550 s
Memory usage 4.86 MiB
JS errors None
Resource errors None

Settings → ShortPixel

Page screenshot: Settings → ShortPixel
URL /wp-admin/options-general.php?page=wp-shortpixel-settings
Aspect menu-item
HTTP status 200
Load time 0.480 s
Memory usage 3.73 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.196 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.333 s0.260 s-0.073 s3.51 MiB3.82 MiB+ 316.11 KiB
/wp-admin/edit.php0.199 s0.235 s+0.036 s3.57 MiB3.85 MiB+ 280.06 KiB
/wp-admin/post-new.php0.764 s1.051 s+0.287 s6.06 MiB6.33 MiB+ 276.09 KiB
/wp-admin/upload.php0.601 s0.507 s-0.094 s3.52 MiB3.93 MiB+ 411.65 KiB
/wp-admin/options-writing.php0.226 s0.210 s-0.016 s3.5 MiB3.71 MiB+ 214.38 KiB
/wp-admin/media-new.php0.289 s0.244 s-0.045 s3.49 MiB3.73 MiB+ 244.59 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.206 s+0.015 s3.5 MiB3.73 MiB+ 233.34 KiB
/wp-admin/post-new.php?post_type=page0.606 s0.646 s+0.040 s6.05 MiB6.32 MiB+ 271.61 KiB
/wp-admin/options-discussion.php0.437 s0.297 s-0.140 s3.5 MiB3.71 MiB+ 210.88 KiB
/wp-admin/edit-comments.php0.242 s0.200 s-0.042 s3.52 MiB3.73 MiB+ 210.54 KiB
/0.302 s0.392 s+0.090 s3.43 MiB3.6 MiB+ 172.39 KiB
Average 0.381 s0.386 s+0.005 s3.97 MiB4.22 MiB+ 258.33 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
CSS
Sass
Language % Lines of code Comment lines Files
PHP61.6%28,6432,832143
JavaScript13.4%6,24648619
CSS11.0%5,09514511
Sass10.1%4,68023733
SVG3.5%1,626461
Markdown0.2%11101
JSON0.2%8606
Total 46,487 3,704 274

PHP Code Analysis | More results »

Lines of code 24,974
Total complexity 5,161
Median class complexity 28.0
Median method complexity 2.0
Most complex class ShortPixel\Model\Image\MediaLibraryModel
Most complex function ShortPixel\Model\Image\MediaLibraryModel::checkLegacy()
Classes 100
Methods 1,252
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.

Database Tables 4

Options wp_options 5

User Metadata wp_usermeta 1

PHP Error Log 1 lines

[30-Apr-2025 18:45:15 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>shortpixel-image-optimiser</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.) in /wp-includes/functions.php on line 6121
See also: All tests for this plugin, How to Hide ShortPixel Image Optimizer Admin Menus