WordPress.org

Make WordPress Core

Ticket #47297: site-health-WP_HTTP_BLOCK_EXTERNAL-min.patch

File site-health-WP_HTTP_BLOCK_EXTERNAL-min.patch, 474 bytes (added by chesio, 3 months ago)

More concise patch

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

     
    15771577                $blocked = false;
    15781578                $hosts   = array();
    15791579
    1580                 if ( defined( 'WP_HTTP_BLOCK_EXTERNAL' ) ) {
     1580                if ( defined( 'WP_HTTP_BLOCK_EXTERNAL' ) && WP_HTTP_BLOCK_EXTERNAL ) {
    15811581                        $blocked = true;
    15821582                }
    15831583