From f7e545154373bbb34ae4d8f0a94750386a99f075 Mon Sep 17 00:00:00 2001 From: Justin Grubbs Date: Tue, 30 Apr 2024 19:40:10 -0400 Subject: [PATCH] fix sprintf deprecation --- includes/utils/class-config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/utils/class-config.php b/includes/utils/class-config.php index 442b880..1517286 100644 --- a/includes/utils/class-config.php +++ b/includes/utils/class-config.php @@ -93,7 +93,7 @@ public static function required_constants( $constants ) { define( $constant, getenv( $constant ) ); } if ( empty( constant( $constant ) ) ) { - $msg = sprintf( '%s not defined. Make sure to set %s in your environment.', $constant ); + $msg = sprintf( '%s not defined. Make sure to set %s in your environment.', $constant, $constant ); trigger_error( esc_html( $msg ), E_USER_ERROR