Ticket #46824: 46824.2.patch
File 46824.2.patch, 1.3 KB (added by , 6 years ago) |
---|
-
src/wp-admin/includes/file.php
1139 1139 return new WP_Error( 1140 1140 'signature_verification_unsupported', 1141 1141 sprintf( 1142 /* translators: 1: The filename of the package. */1143 __( 'The authenticity of % 1$s could not be verified as signature verification is unavailable on this system.' ),1142 /* translators: %s: The filename of the package. */ 1143 __( 'The authenticity of %s could not be verified as signature verification is unavailable on this system.' ), 1144 1144 '<span class="code">' . esc_html( $filename_for_errors ) . '</span>' 1145 1145 ), 1146 1146 ( ! function_exists( 'sodium_crypto_sign_verify_detached' ) ? 'sodium_crypto_sign_verify_detached' : 'sha384' ) … … 1151 1151 return new WP_Error( 1152 1152 'signature_verification_no_signature', 1153 1153 sprintf( 1154 /* translators: 1: The filename of the package. */1155 __( 'The authenticity of % 1$s could not be verified as no signature was found.' ),1154 /* translators: %s: The filename of the package. */ 1155 __( 'The authenticity of %s could not be verified as no signature was found.' ), 1156 1156 '<span class="code">' . esc_html( $filename_for_errors ) . '</span>' 1157 1157 ), 1158 1158 array(