From 7a7ce116620df653231ae2f9058620dc8bc8a301 Mon Sep 17 00:00:00 2001 From: Guido Scialfa Date: Wed, 26 Sep 2018 22:29:44 +0200 Subject: [PATCH] The size parameter for the post thumbnail html filter may be an array or a string #38 --- multisite-global-media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multisite-global-media.php b/multisite-global-media.php index a7d76c8..0fd117c 100644 --- a/multisite-global-media.php +++ b/multisite-global-media.php @@ -400,7 +400,7 @@ function adminPostThumbnailHtml(string $content, int $postId, $thumbnailId): str * * phpcs:disable Inpsyde.CodeQuality.ArgumentTypeDeclaration.NoArgumentType */ -function postThumbnailHtml(string $html, int $postId, string $postThumbnailId, string $size, $attr): string +function postThumbnailHtml(string $html, int $postId, string $postThumbnailId, $size, $attr): string { // phpcs:enable