Lightbox with PhotoSwipe 3.1.10

Does Lightbox with PhotoSwipe work with WordPress 5.7 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: 44.23 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.7
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=8e111dffc2
Aspect after-activation
HTTP status 200
Load time 0.716 s
Memory usage 2.94 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.72 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.176 s
Memory usage 2.72 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.163 s
Memory usage 2.72 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.159 s
Memory usage 2.72 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.154 s
Memory usage 2.72 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.154 s
Memory usage 2.72 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.157 s
Memory usage 2.72 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.239 s
Memory usage 2.74 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.740 s
Memory usage 5.08 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.636 s
Memory usage 5.06 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.257 s0.381 s+0.124 s2.82 MiB2.87 MiB+ 46.46 KiB
/wp-admin/edit.php0.175 s0.186 s+0.011 s2.86 MiB2.91 MiB+ 46.46 KiB
/wp-admin/post-new.php0.862 s0.858 s-0.004 s5.02 MiB5.08 MiB+ 61.82 KiB
/wp-admin/upload.php0.487 s0.251 s-0.236 s2.7 MiB2.74 MiB+ 45.37 KiB
/wp-admin/options-writing.php0.223 s0.235 s+0.012 s2.71 MiB2.72 MiB+ 13.34 KiB
/wp-admin/media-new.php0.220 s0.230 s+0.010 s2.67 MiB2.72 MiB+ 45.54 KiB
/wp-admin/edit-tags.php?taxonomy=category0.170 s0.174 s+0.004 s2.77 MiB2.82 MiB+ 46.45 KiB
/wp-admin/post-new.php?post_type=page1.074 s0.624 s-0.450 s5.01 MiB5.06 MiB+ 57.41 KiB
/wp-admin/options-discussion.php0.283 s0.201 s-0.082 s2.67 MiB2.72 MiB+ 45.85 KiB
/wp-admin/edit-comments.php0.236 s0.207 s-0.029 s2.78 MiB2.82 MiB+ 45.35 KiB
/0.267 s0.317 s+0.050 s2.71 MiB2.74 MiB+ 32.43 KiB
Average 0.387 s0.333 s-0.054 s3.16 MiB3.2 MiB+ 44.23 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,8094294
CSS21.7%1,5742719
PHP18.0%1,3082332
PO File7.4%5371782
SVG0.5%3422
Markdown0.1%501
Total 7,267 1,113 20

PHP Code Analysis | More results »

Lines of code 1,318
Total complexity 254
Median class complexity 250.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