Lightbox with PhotoSwipe 5.1.0

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=bc272121fb
Aspect after-activation
HTTP status 200
Load time 0.551 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.211 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.191 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.202 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.184 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.201 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.318 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.837 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.635 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.382 s0.453 s+0.071 s3.38 MiB3.44 MiB+ 65.04 KiB
/wp-admin/edit.php0.230 s0.224 s-0.006 s3.41 MiB3.47 MiB+ 65.4 KiB
/wp-admin/post-new.php1.066 s0.948 s-0.118 s5.46 MiB5.53 MiB+ 76.64 KiB
/wp-admin/upload.php0.582 s0.403 s-0.179 s3.32 MiB3.39 MiB+ 68.02 KiB
/wp-admin/options-writing.php0.227 s0.194 s-0.033 s3.32 MiB3.38 MiB+ 60.62 KiB
/wp-admin/media-new.php0.307 s0.437 s+0.130 s3.29 MiB3.36 MiB+ 70.35 KiB
/wp-admin/edit-tags.php?taxonomy=category0.209 s0.207 s-0.002 s3.31 MiB3.4 MiB+ 85.39 KiB
/wp-admin/post-new.php?post_type=page0.620 s0.601 s-0.019 s5.45 MiB5.52 MiB+ 72.23 KiB
/wp-admin/options-discussion.php0.248 s0.265 s+0.017 s3.3 MiB3.37 MiB+ 68.52 KiB
/wp-admin/edit-comments.php0.237 s0.238 s+0.001 s3.33 MiB3.4 MiB+ 68.02 KiB
/0.319 s0.264 s-0.055 s3.36 MiB3.36 MiB+ 6.39 KiB
Average 0.402 s0.385 s-0.018 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.1%12,7543,90212
CSS13.2%2,50640113
PHP9.7%1,84523617
PO File9.4%1,7826574
Markdown0.4%7403
SVG0.2%4129
JSON0.1%1201
make0.0%401
Total 19,018 5,198 60

PHP Code Analysis | More results »

Lines of code 1,280
Total complexity 263
Median class complexity 23.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