lightbox 2.5.4 fix: Lightbox was not enabled in entries
See https://board.s9y.org/viewtopic.php?f=10&t=25329
This commit is contained in:
parent
d24150426c
commit
a7b275a1b7
|
@ -1,3 +1,7 @@
|
|||
2.5.4:
|
||||
* Fix: Lightbox was not enabled in entries
|
||||
------------------------------------------------------------------------
|
||||
|
||||
2.5.3:
|
||||
* Hotfixes for PHP 8 (surrim)
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ class serendipity_event_lightbox extends serendipity_event
|
|||
$propbag->add('name', PLUGIN_EVENT_LIGHTBOX_NAME);
|
||||
$propbag->add('description', PLUGIN_EVENT_LIGHTBOX_DESC);
|
||||
$propbag->add('author', 'Thomas Nesges, Andy Hopkins, Lokesh Dhakar, Cody Lindley, Stephan Manske, Grischa Brockhaus, Ian');
|
||||
$propbag->add('version', '2.5.3');
|
||||
$propbag->add('version', '2.5.4');
|
||||
$propbag->add('requirements', array(
|
||||
'serendipity' => '1.6',
|
||||
'php' => '5.3.0'
|
||||
|
@ -297,7 +297,7 @@ class serendipity_event_lightbox extends serendipity_event
|
|||
|
||||
foreach ($this->markup_elements as $temp) {
|
||||
if (isset($eventData[$temp['element']]) && serendipity_db_bool($this->get_config($temp['name'], 'true')) &&
|
||||
(isset($eventData['properties']) && isset($eventData['properties']['ep_disable_markup_' . $this->instance]) && !$eventData['properties']['ep_disable_markup_' . $this->instance]) && // TODO: please test
|
||||
!(isset($eventData['properties']['ep_disable_markup_' . $this->instance]) && $eventData['properties']['ep_disable_markup_' . $this->instance]) &&
|
||||
!isset($serendipity['POST']['properties']['disable_markup_' . $this->instance])) {
|
||||
$element = $temp['element'];
|
||||
|
||||
|
|
Loading…
Reference in a new issue