Make WordPress Core

Ticket #46824: 46824.patch

File 46824.patch, 1.6 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.' ),
     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' )
     
    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.' ),
     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(
  • src/wp-includes/class-wp-http-proxy.php

     
    178178                        return true;
    179179                }
    180180
    181                 $home = parse_url( get_option( 'siteurl' ) );
     181                $home = parse_url( get_option( 'swp-admin/includes/file.php iteurl' ) );
    182182
    183183                /**
    184184                 * Filters whether to preempt sending the request through the proxy server.