Lightbox with PhotoSwipe 3.1.6

Does Lightbox with PhotoSwipe work with WordPress 5.6 and PHP 7.4.8? 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: 48.92 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 version5.6
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=618efab2cb
Aspect after-activation
HTTP status 200
Load time 2.097 s
Memory usage 2.92 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.168 s
Memory usage 2.69 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.165 s
Memory usage 2.69 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.157 s
Memory usage 2.69 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.180 s
Memory usage 2.69 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.155 s
Memory usage 2.69 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.145 s
Memory usage 2.69 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.149 s
Memory usage 2.69 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.261 s
Memory usage 2.7 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.613 s
Memory usage 4.99 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.620 s
Memory usage 4.97 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.429 s0.377 s-0.052 s2.79 MiB2.84 MiB+ 46.46 KiB
/wp-admin/edit.php0.213 s0.188 s-0.025 s2.84 MiB2.88 MiB+ 46.46 KiB
/wp-admin/post-new.php0.873 s0.837 s-0.036 s4.93 MiB4.99 MiB+ 61.82 KiB
/wp-admin/upload.php0.575 s0.260 s-0.315 s2.67 MiB2.71 MiB+ 45.37 KiB
/wp-admin/options-writing.php0.165 s0.143 s-0.022 s2.68 MiB2.7 MiB+ 13.34 KiB
/wp-admin/media-new.php0.237 s0.152 s-0.085 s2.64 MiB2.69 MiB+ 45.54 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.290 s+0.099 s2.68 MiB2.73 MiB+ 46.45 KiB
/wp-admin/post-new.php?post_type=page0.711 s0.600 s-0.111 s4.92 MiB4.97 MiB+ 49.41 KiB
/wp-admin/options-discussion.php0.200 s0.191 s-0.009 s2.65 MiB2.69 MiB+ 45.85 KiB
/wp-admin/edit-comments.php0.207 s0.218 s+0.011 s2.75 MiB2.79 MiB+ 45.35 KiB
/0.382 s0.362 s-0.020 s2.61 MiB2.7 MiB+ 92.11 KiB
Average 0.380 s0.329 s-0.051 s3.11 MiB3.15 MiB+ 48.92 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
Language % Lines of code Comment lines Files
JavaScript52.4%3,8074294
CSS21.7%1,5742719
PHP18.0%1,3042332
PO File7.4%5371782
SVG0.5%3422
Markdown0.1%501
Total 7,261 1,113 20

PHP Code Analysis | More results »

Lines of code 1,314
Total complexity 252
Median class complexity 248.0
Median method complexity 2.0
Most complex class LightboxPhotoSwipe
Most complex function LightboxPhotoSwipe::settingsPage()
Classes 1
Methods 35
Functions 2

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.

Database Tables 1

Options wp_options 39

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