Make WordPress Core

Ticket #50588: 50588.diff

File 50588.diff, 594 bytes (added by siliconforks, 5 years ago)

A simple 1-line fix.

  • src/wp-admin/includes/class-wp-site-health.php

     
    19691969                                        /* translators: 1: The HTTP error code. 2: The HTTP error message. */
    19701970                                        __( 'The REST API call gave the following unexpected result: (%1$d) %2$s.' ),
    19711971                                        wp_remote_retrieve_response_code( $r ),
    1972                                         wp_remote_retrieve_body( $r )
     1972                                        esc_html( wp_remote_retrieve_body( $r ) )
    19731973                                )
    19741974                        );
    19751975                } else {