Make WordPress Core


Ignore:
Timestamp:
12/25/2019 06:15:13 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Tests: Replace most instances of wpmu_delete_blog() not specifically testing that function with wp_delete_site().

Follow-up to [47011].

See #47195.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/multisite/siteDetails.php

    r46586 r47012  
    140140            $cached_details = wp_cache_get( $site->id, 'site-details' );
    141141
    142             wpmu_delete_blog( $id, true );
     142            wp_delete_site( $id );
    143143            wp_update_network_site_counts();
    144144
Note: See TracChangeset for help on using the changeset viewer.