Make WordPress Core

Ticket #46824: 46824.2.patch

File 46824.2.patch, 1.3 KB (added by thrijith, 6 years ago)

Refresh patch

  • src/wp-admin/includes/file.php

     
    11391139                return new WP_Error(
    11401140                        'signature_verification_unsupported',
    11411141                        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.' ),
    11441144                                '<span class="code">' . esc_html( $filename_for_errors ) . '</span>'
    11451145                        ),
    11461146                        ( ! function_exists( 'sodium_crypto_sign_verify_detached' ) ? 'sodium_crypto_sign_verify_detached' : 'sha384' )
     
    11511151                return new WP_Error(
    11521152                        'signature_verification_no_signature',
    11531153                        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.' ),
    11561156                                '<span class="code">' . esc_html( $filename_for_errors ) . '</span>'
    11571157                        ),
    11581158                        array(