diff --git a/src/wp-admin/includes/file.php b/src/wp-admin/includes/file.php index 82d722b53d..2018f831b3 100644 --- a/src/wp-admin/includes/file.php +++ b/src/wp-admin/includes/file.php @@ -1139,8 +1139,8 @@ function verify_file_signature( $filename, $signatures, $filename_for_errors = f return new WP_Error( 'signature_verification_unsupported', sprintf( - /* translators: 1: The filename of the package. */ - __( 'The authenticity of %1$s could not be verified as signature verification is unavailable on this system.' ), + /* translators: %s: The filename of the package. */ + __( 'The authenticity of %s could not be verified as signature verification is unavailable on this system.' ), '' . esc_html( $filename_for_errors ) . '' ), ( ! function_exists( 'sodium_crypto_sign_verify_detached' ) ? 'sodium_crypto_sign_verify_detached' : 'sha384' ) @@ -1151,8 +1151,8 @@ function verify_file_signature( $filename, $signatures, $filename_for_errors = f return new WP_Error( 'signature_verification_no_signature', sprintf( - /* translators: 1: The filename of the package. */ - __( 'The authenticity of %1$s could not be verified as no signature was found.' ), + /* translators: %s: The filename of the package. */ + __( 'The authenticity of %s could not be verified as no signature was found.' ), '' . esc_html( $filename_for_errors ) . '' ), array( @@ -1198,8 +1198,8 @@ function verify_file_signature( $filename, $signatures, $filename_for_errors = f return new WP_Error( 'signature_verification_failed', sprintf( - /* translators: 1: The filename of the package. */ - __( 'The authenticity of %1$s could not be verified.' ), + /* translators: %s: The filename of the package. */ + __( 'The authenticity of %s could not be verified.' ), '' . esc_html( $filename_for_errors ) . '' ), // Error data helpful for debugging: