Simple Lightbox 2.9.3

Does Simple Lightbox work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
17PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 246.58 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.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/simple-lightbox/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=simple-lightbox%2Fmain.php&plugin_status=all&paged=1&s&_wpnonce=1960c6aceb
Aspect after-activation
HTTP status 200
Load time 0.310 s
Memory usage 3.87 MiB
JS errors None
Resource errors None

Appearance → Lightbox

Page screenshot: Appearance → Lightbox
URL /wp-admin/themes.php?page=slb_options
Aspect menu-item
HTTP status 200
Load time 0.249 s
Memory usage 3.7 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.209 s
Memory usage 3.61 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.380 s0.334 s-0.046 s3.43 MiB3.68 MiB+ 246.43 KiB
/wp-admin/edit.php0.236 s0.213 s-0.023 s3.46 MiB3.76 MiB+ 311.38 KiB
/wp-admin/post-new.php0.940 s0.641 s-0.299 s5.59 MiB5.84 MiB+ 255.01 KiB
/wp-admin/upload.php0.629 s0.515 s-0.114 s3.38 MiB3.6 MiB+ 230.44 KiB
/wp-admin/options-writing.php0.238 s0.226 s-0.012 s3.37 MiB3.59 MiB+ 221.37 KiB
/wp-admin/media-new.php0.299 s0.278 s-0.021 s3.35 MiB3.59 MiB+ 241.19 KiB
/wp-admin/edit-tags.php?taxonomy=category0.205 s0.200 s-0.005 s3.37 MiB3.61 MiB+ 246.76 KiB
/wp-admin/post-new.php?post_type=page0.608 s0.605 s-0.003 s5.59 MiB5.83 MiB+ 246.6 KiB
/wp-admin/options-discussion.php0.333 s0.512 s+0.179 s3.36 MiB3.59 MiB+ 233.19 KiB
/wp-admin/edit-comments.php0.265 s0.241 s-0.024 s3.39 MiB3.61 MiB+ 229.39 KiB
/0.326 s0.213 s-0.113 s3.37 MiB3.61 MiB+ 250.65 KiB
Average 0.405 s0.362 s-0.044 s3.79 MiB4.03 MiB+ 246.58 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.

PHP
JavaScript
Language % Lines of code Comment lines Files
PHP59.0%6,2094,76430
JavaScript31.2%3,2882,28316
SVG3.9%40701
Sass3.8%399196
PO File0.8%86391
HTML0.5%4901
XML0.3%31161
JSON0.3%2702
Markdown0.2%2402
CSS0.0%505
Total 10,525 7,121 65

PHP Code Analysis | More results »

Lines of code 6,209
Total complexity 1,753
Median class complexity 32.0
Median method complexity 2.0
Most complex class SLB_Utilities
Most complex function SLB_Lightbox::process_links()
Classes 27
Methods 504
Functions 3

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 2

PHP Error Log 17 lines

[10-Apr-2024 02:41:50 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/simple-lightbox/includes/class.utilities.php on line 545
[10-Apr-2024 02:41:51 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/simple-lightbox/includes/class.utilities.php on line 545
[10-Apr-2024 02:41:51 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/simple-lightbox/includes/class.utilities.php on line 545
[10-Apr-2024 02:41:52 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/simple-lightbox/includes/class.utilities.php on line 545
[10-Apr-2024 02:41:53 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/simple-lightbox/includes/class.utilities.php on line 545
[10-Apr-2024 02:41:53 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/simple-lightbox/includes/class.utilities.php on line 545
[10-Apr-2024 02:41:54 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/simple-lightbox/includes/class.utilities.php on line 545
[10-Apr-2024 02:41:57 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/simple-lightbox/includes/class.utilities.php on line 545
[10-Apr-2024 02:41:58 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/simple-lightbox/includes/class.utilities.php on line 545
[10-Apr-2024 02:41:58 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/simple-lightbox/includes/class.utilities.php on line 545
[10-Apr-2024 02:41:58 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/simple-lightbox/includes/class.utilities.php on line 545
[10-Apr-2024 02:41:59 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/simple-lightbox/includes/class.utilities.php on line 545
[10-Apr-2024 02:42:02 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/simple-lightbox/includes/class.utilities.php on line 545
[10-Apr-2024 02:42:02 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/simple-lightbox/includes/class.utilities.php on line 545
[10-Apr-2024 02:42:02 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/simple-lightbox/includes/class.utilities.php on line 545
[10-Apr-2024 02:42:03 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/simple-lightbox/includes/class.utilities.php on line 545
[10-Apr-2024 02:42:03 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/simple-lightbox/includes/class.utilities.php on line 545
See also: All tests for this plugin, How to Hide the "Lightbox" Admin Menu