Lightbox with PhotoSwipe 5.7.1

Does Lightbox with PhotoSwipe work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 59.71 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 20,000+
WordPress.org page https://wordpress.org/plugins/lightbox-photoswipe/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 10

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=23e1c3f867
Aspect after-activation
HTTP status 200
Load time 0.261 s
Memory usage 3.61 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.179 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Settings → Lightbox with PhotoSwipe → General

Page screenshot: Settings → Lightbox with PhotoSwipe → General
URL /wp-admin/options-general.php?page=lightbox-photoswipe
Aspect menu-item-tab
HTTP status 200
Load time 0.191 s
Memory usage 3.55 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.172 s
Memory usage 3.55 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.162 s
Memory usage 3.55 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.199 s
Memory usage 3.55 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.205 s
Memory usage 3.55 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.324 s
Memory usage 3.49 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'style')\n    at lbwpsInit (/wp-content/plugins/lightbox-photoswipe/assets/ps5/frontend.min.js?ver=5.7.1:1:528)\n    at /wp-content/plugins/lightbox-photoswipe/assets/ps5/frontend.min.js?ver=5.7.1:55:166\n    at HTMLDocument.idempotentFn (/wp-content/plugins/lightbox-photoswipe/assets/ps5/frontend.min.js?ver=5.7.1:53:27)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Add Post ‹ Test site — WordPress

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

Add Page ‹ Test site — WordPress

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

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.348 s0.463 s+0.115 s3.51 MiB3.58 MiB+ 74.4 KiB
/wp-admin/edit.php0.204 s0.198 s-0.006 s3.57 MiB3.66 MiB+ 88.94 KiB
/wp-admin/post-new.php0.848 s1.152 s+0.304 s6.06 MiB6.14 MiB+ 77.09 KiB
/wp-admin/upload.php0.725 s0.497 s-0.228 s3.52 MiB3.57 MiB+ 51.53 KiB
/wp-admin/options-writing.php0.209 s0.219 s+0.010 s3.5 MiB3.55 MiB+ 55.52 KiB
/wp-admin/media-new.php0.259 s0.201 s-0.058 s3.49 MiB3.55 MiB+ 63.72 KiB
/wp-admin/edit-tags.php?taxonomy=category0.182 s0.194 s+0.012 s3.5 MiB3.58 MiB+ 74.39 KiB
/wp-admin/post-new.php?post_type=page1.197 s0.727 s-0.470 s6.05 MiB6.12 MiB+ 72.62 KiB
/wp-admin/options-discussion.php0.401 s0.295 s-0.106 s3.5 MiB3.55 MiB+ 52.02 KiB
/wp-admin/edit-comments.php0.230 s0.379 s+0.149 s3.52 MiB3.57 MiB+ 51.52 KiB
/0.311 s0.316 s+0.005 s3.5 MiB3.49 MiB- 4.89 KiB
Average 0.447 s0.422 s-0.025 s3.98 MiB4.03 MiB+ 59.71 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
JavaScript66.4%12,8413,90912
CSS13.2%2,55140113
PHP10.2%1,97925121
PO File9.6%1,8527064
Markdown0.4%7403
SVG0.2%4129
JSON0.1%1201
make0.0%301
Total 19,353 5,269 64

PHP Code Analysis | More results »

Lines of code 1,391
Total complexity 297
Median class complexity 31.5
Median method complexity 2.0
Most complex class LightboxPhotoSwipe\LightboxPhotoSwipe
Most complex function LightboxPhotoSwipe\LightboxPhotoSwipe::callbackProperties()
Classes 4
Methods 57
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