From 5ab2d6f92a6c3dbbb0edf3e999f97859f361898e Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 9 May 2023 15:13:27 +0200 Subject: [PATCH] Explicitly provide a value for `$float` for the media BBCode Fixes #5486 --- .../files/lib/system/bbcode/WoltLabSuiteMediaBBCode.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/lib/system/bbcode/WoltLabSuiteMediaBBCode.class.php b/wcfsetup/install/files/lib/system/bbcode/WoltLabSuiteMediaBBCode.class.php index 83b8b89056..4fdb9e2bec 100644 --- a/wcfsetup/install/files/lib/system/bbcode/WoltLabSuiteMediaBBCode.class.php +++ b/wcfsetup/install/files/lib/system/bbcode/WoltLabSuiteMediaBBCode.class.php @@ -76,6 +76,7 @@ final class WoltLabSuiteMediaBBCode extends AbstractBBCode return WCF::getTPL()->fetch('mediaBBCodeTag', 'wcf', [ 'mediaLink' => $this->getLink($media), 'removeLinks' => $removeLinks, + 'float' => 'none', 'media' => $media->getLocalizedVersion(MessageEmbeddedObjectManager::getInstance()->getActiveMessageLanguageID()), ]); } -- 2.20.1