Plugin Directory

Changeset 3427660


Ignore:
Timestamp:
12/26/2025 11:25:58 AM (2 months ago)
Author:
awelzel
Message:

Update trunk from Codeberg

Location:
lightbox-photoswipe/trunk
Files:
3 added
6 edited

Legend:

Unmodified
Added
Removed
  • lightbox-photoswipe/trunk/README.md

    r3353533 r3427660  
    1919## Plugins for PhotoSwipe
    2020
    21 If you like to use the plugins for fullscreen mode and automatic hiding of the UI in desktop mode, you find these also on Github:
     21If you like to use the plugins for fullscreen mode, automatic hiding of the UI in desktop mode or the "download image" button with your own PhotoSwipe based projects, you find these also on Codeberg:
    2222
    2323[Auto hide UI for PhotoSwipe](https://codeberg.org/askaaron/photoswipe-auto-hide-ui)
    2424
    2525[Fullscreen for PhotoSwipe](https://codeberg.org/askaaron/photoswipe-fullscreen)
     26
     27[Download for PhotoSwipe](https://codeberg.org/askaaron/photoswipe-download)
    2628
    2729In addition a slightly modified version of the "dynamic caption" plugin by is also included:
  • lightbox-photoswipe/trunk/assets/ps5/fullscreen/LICENSE

    r2776720 r3427660  
    11MIT License
    22
    3 Copyright (c) 2022 Arno Welzel
     3Copyright (c) 2022-2025 Arno Welzel
    44
    55Permission is hereby granted, free of charge, to any person obtaining a copy
  • lightbox-photoswipe/trunk/assets/ps5/fullscreen/photoswipe-fullscreen.esm.js

    r3409167 r3427660  
    11/**
    2  * PhotoSwipe fullscreen plugin v1.0.5
     2 * PhotoSwipe fullscreen plugin v1.0.6
    33 *
    44 * Inspired by https://github.com/dimsemenov/PhotoSwipe/issues/1759
  • lightbox-photoswipe/trunk/lightbox-photoswipe.php

    r3409167 r3427660  
    44Plugin URI: https://wordpress.org/plugins/lightbox-photoswipe/
    55Description: Lightbox with PhotoSwipe
    6 Version: 5.8.1
     6Version: 5.8.2
    77Author: Arno Welzel
    88Author URI: http://arnowelzel.de
  • lightbox-photoswipe/trunk/readme.txt

    r3409167 r3427660  
    55Requires at least: 5.3
    66Tested up to: 6.9
    7 Stable tag: 5.8.1
     7Stable tag: 5.8.2
    88Donate link: https://paypal.me/ArnoWelzel
    99License: GPLv2
     
    158158== Changelog ==
    159159
     160= 5.8.2 =
     161
     162* Fixed possible output buffer issues when using PhotoSwipe 5.
     163
    160164= 5.8.1 =
    161165
  • lightbox-photoswipe/trunk/src/LightboxPhotoSwipe/LightboxPhotoSwipe.php

    r3409167 r3427660  
    99class LightboxPhotoSwipe
    1010{
    11     const VERSION = '5.8.1';
     11    const VERSION = '5.8.2';
    1212    const SLUG = 'lightbox-photoswipe';
    1313    const META_VERSION = '22';
     
    259259
    260260        $version = apply_filters('lbwps_version', $this->optionsManager->getOption('version'), get_the_ID());
    261         if (4 !== (int)$version) {
    262             return;
    263         }
    264 
    265         ob_start();
    266         include(self::BASEPATH.'templates/frontend.inc.php');
    267         $footer = ob_get_clean();
    268 
    269         $footer = apply_filters('lbwps_markup', $footer);
    270         echo $footer;
     261        if (4 === (int)$version) {
     262            ob_start();
     263            include(self::BASEPATH.'templates/frontend.inc.php');
     264            $footer = ob_get_clean();
     265
     266            $footer = apply_filters('lbwps_markup', $footer);
     267            echo $footer;
     268        }
    271269
    272270        if ($this->obActive) {
Note: See TracChangeset for help on using the changeset viewer.