WordPress.org

Make WordPress Core

Ticket #38347: 38347.diff

File 38347.diff, 400 bytes (added by iamfriendly, 5 years ago)

Replaced get_blog_details() with get_site() in wp-admin/ms-delete-site.php

  • src/wp-admin/ms-delete-site.php

    diff --git src/wp-admin/ms-delete-site.php src/wp-admin/ms-delete-site.php
    index a790fa2..1214de6 100644
    if ( isset( $_GET['h'] ) && $_GET['h'] != '' && get_option( 'delete_blog_hash' ) 
    2424        }
    2525}
    2626
    27 $blog = get_blog_details();
     27$blog = get_site();
    2828$user = wp_get_current_user();
    2929
    3030$title = __( 'Delete Site' );