Skip to content

Commit

Permalink
Merge pull request #63 from humanmade/fix-format-specifier
Browse files Browse the repository at this point in the history
Correct invalid format specifier at end of sprintf
  • Loading branch information
kadamwhite authored Aug 21, 2024
2 parents 0f52907 + 39faf13 commit 952c245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/namespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 [];
}

Expand Down

0 comments on commit 952c245

Please sign in to comment.