Lightbox with PhotoSwipe 5.7.0

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
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 59.72 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=6c2b7dc5de
Aspect after-activation
HTTP status 200
Load time 0.320 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.248 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.210 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.223 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.205 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.219 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.211 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.348 s
Memory usage 3.49 MiB
JS errors None
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.924 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 0.684 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.422 s0.513 s+0.091 s3.51 MiB3.58 MiB+ 74.4 KiB
/wp-admin/edit.php0.317 s0.226 s-0.091 s3.57 MiB3.66 MiB+ 88.94 KiB
/wp-admin/post-new.php0.922 s1.083 s+0.161 s6.06 MiB6.14 MiB+ 77.09 KiB
/wp-admin/upload.php0.704 s0.316 s-0.388 s3.52 MiB3.57 MiB+ 51.53 KiB
/wp-admin/options-writing.php0.251 s0.204 s-0.047 s3.5 MiB3.55 MiB+ 55.52 KiB
/wp-admin/media-new.php0.434 s0.476 s+0.042 s3.49 MiB3.55 MiB+ 63.73 KiB
/wp-admin/edit-tags.php?taxonomy=category0.221 s0.214 s-0.007 s3.5 MiB3.58 MiB+ 74.39 KiB
/wp-admin/post-new.php?post_type=page0.664 s0.741 s+0.077 s6.05 MiB6.12 MiB+ 72.62 KiB
/wp-admin/options-discussion.php0.288 s0.303 s+0.015 s3.5 MiB3.55 MiB+ 52.02 KiB
/wp-admin/edit-comments.php0.527 s0.245 s-0.282 s3.52 MiB3.57 MiB+ 51.52 KiB
/0.347 s0.285 s-0.062 s3.5 MiB3.49 MiB- 4.89 KiB
Average 0.463 s0.419 s-0.045 s3.98 MiB4.03 MiB+ 59.72 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,8383,90912
CSS13.2%2,55140113
PHP10.2%1,97625121
PO File9.6%1,8527064
Markdown0.4%7403
SVG0.2%4129
JSON0.1%1201
make0.0%301
Total 19,347 5,269 64

PHP Code Analysis | More results »

Lines of code 1,388
Total complexity 296
Median class complexity 31.0
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