Make WordPress Core

Ticket #46824: 46824.1.patch

File 46824.1.patch, 1.3 KB (added by thrijith, 5 years ago)
  • src/wp-admin/includes/file.php

     
    11401140                        'signature_verification_unsupported',
    11411141                        sprintf(
    11421142                                /* 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.' ),
    1144                                 '<span class="code">' . esc_html( $filename_for_errors ) . '</span>'
     1143                                __( 'The authenticity of <span class="code">%s</span> could not be verified as signature verification is unavailable on this system.' ),
     1144                                esc_html( $filename_for_errors )
    11451145                        ),
    11461146                        ( ! function_exists( 'sodium_crypto_sign_verify_detached' ) ? 'sodium_crypto_sign_verify_detached' : 'sha384' )
    11471147                );
     
    11521152                        'signature_verification_no_signature',
    11531153                        sprintf(
    11541154                                /* translators: 1: The filename of the package. */
    1155                                 __( 'The authenticity of %1$s could not be verified as no signature was found.' ),
    1156                                 '<span class="code">' . esc_html( $filename_for_errors ) . '</span>'
     1155                                __( 'The authenticity of <span class="code">%s</span> could not be verified as no signature was found.' ),
     1156                                esc_html( $filename_for_errors )
    11571157                        ),
    11581158                        array(
    11591159                                'filename' => $filename_for_errors,