From d5bd564ae2c2385bb5f534fe27075f3141f05d84 Mon Sep 17 00:00:00 2001 From: Forkless Date: Sun, 10 May 2026 20:39:01 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20player=20not=20rendering=20for=20logged-?= =?UTF-8?q?out=20users=20=E2=80=94=20removed=20in=5Fthe=5Floop()=20guard?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/class-player.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-player.php b/includes/class-player.php index ce2b5f2..d73b375 100644 --- a/includes/class-player.php +++ b/includes/class-player.php @@ -67,7 +67,7 @@ class Player { */ public function maybe_prepend_player( string $content ): string { // Only on singular views. - if ( ! is_singular() || ! in_the_loop() || ! is_main_query() ) { + if ( ! is_singular() || ! is_main_query() ) { return $content; }