Lightbox with PhotoSwipe 5.1.4

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.31 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=a5f16c61f7
Aspect after-activation
HTTP status 200
Load time 0.313 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.238 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.201 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.213 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.239 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.199 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.189 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.222 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.335 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.823 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.648 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.424 s0.416 s-0.008 s3.38 MiB3.44 MiB+ 65.03 KiB
/wp-admin/edit.php0.433 s0.253 s-0.180 s3.41 MiB3.47 MiB+ 65.4 KiB
/wp-admin/post-new.php0.881 s0.647 s-0.234 s5.46 MiB5.53 MiB+ 76.64 KiB
/wp-admin/upload.php0.539 s0.386 s-0.153 s3.32 MiB3.39 MiB+ 68.03 KiB
/wp-admin/options-writing.php0.246 s0.214 s-0.032 s3.32 MiB3.38 MiB+ 60.62 KiB
/wp-admin/media-new.php0.335 s0.398 s+0.063 s3.29 MiB3.36 MiB+ 70.35 KiB
/wp-admin/edit-tags.php?taxonomy=category0.215 s0.259 s+0.044 s3.31 MiB3.4 MiB+ 85.39 KiB
/wp-admin/post-new.php?post_type=page0.872 s1.042 s+0.170 s5.45 MiB5.52 MiB+ 72.23 KiB
/wp-admin/options-discussion.php0.358 s0.280 s-0.078 s3.3 MiB3.37 MiB+ 68.52 KiB
/wp-admin/edit-comments.php0.261 s0.245 s-0.016 s3.33 MiB3.4 MiB+ 68.02 KiB
/0.299 s0.313 s+0.014 s3.36 MiB3.36 MiB+ 7.2 KiB
Average 0.442 s0.405 s-0.037 s3.72 MiB3.78 MiB+ 64.31 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,85424217
PO File9.4%1,7826574
Markdown0.4%7403
SVG0.2%4129
JSON0.1%1201
make0.0%401
Total 19,027 5,204 60

PHP Code Analysis | More results »

Lines of code 1,289
Total complexity 266
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