From 39faf134e2d66789e651657b6612d136c4696f7e Mon Sep 17 00:00:00 2001 From: K Adam White Date: Mon, 19 Aug 2024 23:07:27 -0400 Subject: [PATCH] Correct invalid format specifier at end of sprintf Throws an error without it --- inc/namespace.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/namespace.php b/inc/namespace.php index 7be6d93..5f5eac7 100644 --- a/inc/namespace.php +++ b/inc/namespace.php @@ -69,7 +69,7 @@ function _register_or_update_script( string $handle, string $asset_uri, array $d */ function register_asset( ?string $manifest_path, string $target_asset, array $options = [] ): array { if ( empty( $manifest_path ) ) { - trigger_error( sprintf( 'No manifest specified when loading %', esc_attr( $target_asset ) ), E_USER_NOTICE ); + trigger_error( sprintf( 'No manifest specified when loading %s', esc_attr( $target_asset ) ), E_USER_NOTICE ); return []; }