Lightbox with PhotoSwipe 5.1.2

Does Lightbox with PhotoSwipe work with WordPress 6.4.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: 64.24 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.4.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/lightbox-photoswipe/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 11

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=lightbox-photoswipe%2Flightbox-photoswipe.php&plugin_status=all&paged=1&s&_wpnonce=2dd21f7984
Aspect after-activation
HTTP status 200
Load time 0.424 s
Memory usage 3.4 MiB
JS errors None
Resource errors None

Settings → Lightbox with PhotoSwipe

Page screenshot: Settings → Lightbox with PhotoSwipe
URL /wp-admin/options-general.php?page=lightbox-photoswipe
Aspect menu-item
HTTP status 200
Load time 0.203 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Settings → Lightbox with PhotoSwipe → Theme

Page screenshot: Settings → Lightbox with PhotoSwipe → Theme
URL /wp-admin/options-general.php?page=lightbox-photoswipe
Aspect menu-item-tab
HTTP status 200
Load time 0.195 s
Memory usage 3.34 MiB
JS errors None
Resource errors None

Settings → Lightbox with PhotoSwipe → Captions

Page screenshot: Settings → Lightbox with PhotoSwipe → Captions
URL /wp-admin/options-general.php?page=lightbox-photoswipe
Aspect menu-item-tab
HTTP status 200
Load time 0.182 s
Memory usage 3.34 MiB
JS errors None
Resource errors None

Settings → Lightbox with PhotoSwipe → Sharing

Page screenshot: Settings → Lightbox with PhotoSwipe → Sharing
URL /wp-admin/options-general.php?page=lightbox-photoswipe
Aspect menu-item-tab
HTTP status 200
Load time 0.204 s
Memory usage 3.34 MiB
JS errors None
Resource errors None

Settings → Lightbox with PhotoSwipe → Desktop

Page screenshot: Settings → Lightbox with PhotoSwipe → Desktop
URL /wp-admin/options-general.php?page=lightbox-photoswipe
Aspect menu-item-tab
HTTP status 200
Load time 0.194 s
Memory usage 3.34 MiB
JS errors None
Resource errors None

Settings → Lightbox with PhotoSwipe → Mobile

Page screenshot: Settings → Lightbox with PhotoSwipe → Mobile
URL /wp-admin/options-general.php?page=lightbox-photoswipe
Aspect menu-item-tab
HTTP status 200
Load time 0.183 s
Memory usage 3.34 MiB
JS errors None
Resource errors None

Settings → Lightbox with PhotoSwipe → Info

Page screenshot: Settings → Lightbox with PhotoSwipe → Info
URL /wp-admin/options-general.php?page=lightbox-photoswipe
Aspect menu-item-tab
HTTP status 200
Load time 0.188 s
Memory usage 3.34 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.292 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.639 s
Memory usage 5.53 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.617 s
Memory usage 5.52 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.376 s0.427 s+0.051 s3.38 MiB3.44 MiB+ 65.03 KiB
/wp-admin/edit.php0.223 s0.219 s-0.004 s3.41 MiB3.47 MiB+ 65.4 KiB
/wp-admin/post-new.php0.995 s0.935 s-0.060 s5.46 MiB5.53 MiB+ 76.64 KiB
/wp-admin/upload.php0.696 s0.418 s-0.278 s3.32 MiB3.39 MiB+ 68.03 KiB
/wp-admin/options-writing.php0.223 s0.264 s+0.041 s3.32 MiB3.38 MiB+ 60.62 KiB
/wp-admin/media-new.php0.309 s0.259 s-0.050 s3.29 MiB3.36 MiB+ 70.35 KiB
/wp-admin/edit-tags.php?taxonomy=category0.203 s0.194 s-0.009 s3.31 MiB3.4 MiB+ 85.39 KiB
/wp-admin/post-new.php?post_type=page0.611 s0.860 s+0.249 s5.45 MiB5.52 MiB+ 72.23 KiB
/wp-admin/options-discussion.php0.305 s0.349 s+0.044 s3.3 MiB3.37 MiB+ 68.52 KiB
/wp-admin/edit-comments.php0.237 s0.212 s-0.025 s3.33 MiB3.4 MiB+ 68.02 KiB
/0.305 s0.251 s-0.054 s3.36 MiB3.36 MiB+ 6.39 KiB
Average 0.408 s0.399 s-0.009 s3.72 MiB3.78 MiB+ 64.24 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.

JavaScript
CSS
PHP
PO File
Language % Lines of code Comment lines Files
JavaScript67.0%12,7543,90212
CSS13.2%2,50640113
PHP9.7%1,85024117
PO File9.4%1,7826574
Markdown0.4%7403
SVG0.2%4129
JSON0.1%1201
make0.0%401
Total 19,023 5,203 60

PHP Code Analysis | More results »

Lines of code 1,285
Total complexity 265
Median class complexity 24.5
Median method complexity 2.0
Most complex class LightboxPhotoSwipe\LightboxPhotoSwipe
Most complex function LightboxPhotoSwipe\LightboxPhotoSwipe::callbackProperties()
Classes 4
Methods 54
Functions 0

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 1

Meta Boxes

{
    "post": {
        "lightbox-photoswipe": {
            "title": "Lightbox with PhotoSwipe",
            "context": "side"
        }
    },
    "page": {
        "lightbox-photoswipe": {
            "title": "Lightbox with PhotoSwipe",
            "context": "side"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Lightbox with PhotoSwipe Admin Menus and Meta Boxes