From d6504c7b4df1c3cf27037e9a4f76642bb7af7ad3 Mon Sep 17 00:00:00 2001 From: Joost de Valk Date: Thu, 5 Feb 2026 12:24:11 +0100 Subject: [PATCH] fix: remove unused $num variable in debug output The 4th argument to str_replace receives the replacement count, but $num was never declared before and never used after. Removed. Co-Authored-By: Claude Opus 4.5 --- admin/admin.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/admin/admin.php b/admin/admin.php index 8af84b8..1dc9f7c 100644 --- a/admin/admin.php +++ b/admin/admin.php @@ -477,8 +477,7 @@ public function config_page(): void { '', '', // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_var_export -- This is only shown in debug mode. - \highlight_string( "options = " . \var_export( $this->options, true ) . ';', true ), - $num + \highlight_string( "options = " . \var_export( $this->options, true ) . ';', true ) ); ?>