Skip to content

Commit

Permalink
[Backport v10-branch] Correct sprintf translation argument.
Browse files Browse the repository at this point in the history
Merge pull request #425 from humanmade/backport-423-to-v10-branch
  • Loading branch information
Robin Devitt authored Aug 2, 2022
2 parents 8df71dd + fcec80f commit 62234c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/packages/namespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ function handle_form() : void {
$errors[] = new WP_Error(
'file_type_incorrect',
// translators: %s replaced by search package file path.
sprintf( __( 'Detected unsupported file type %, only text files are supported.', 'altis' ), $mime_type )
sprintf( __( 'Detected unsupported file type %s, only text files are supported.', 'altis' ), $mime_type )
);

} else {
Expand Down

0 comments on commit 62234c8

Please sign in to comment.