Make WordPress Core


Ignore:
Timestamp:
06/27/2025 03:07:29 PM (5 months ago)
Author:
johnbillion
Message:

Networks and Sites: Correct and improve terminology relating to deactivated, deleted, and archived sites on a Multisite installation.

  • Deleting a site is permanent action, so the terminology around site deletion has been updated to reflect that.
  • Site deactivation has been renamed to "Flag for Deletion", and a site with this status is no longer incorrectly shown as "Deleted".
  • Extra helper text has been added to the screen shown when changing a site's status to make the effects clearer to Super Admins.

Props kawauso, ryan_b, wonderboymusic, nacin, DrewAPicture, martythornley, SergeyBiryukov, jeremyfelt, ideag, jorbin, sukhendu2002, johnbillion, realloc.

Fixes #15801

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/menu.php

    r59905 r60358  
    379379    $submenu['tools.php'][25] = array( __( 'Export Personal Data' ), 'export_others_personal_data', 'export-personal-data.php' );
    380380    $submenu['tools.php'][30] = array( __( 'Erase Personal Data' ), 'erase_others_personal_data', 'erase-personal-data.php' );
    381 if ( is_multisite() && ! is_main_site() ) {
     381if ( is_multisite() && ! is_main_site() && '1' !== get_site()->deleted ) {
    382382    $submenu['tools.php'][35] = array( __( 'Delete Site' ), 'delete_site', 'ms-delete-site.php' );
    383383}
Note: See TracChangeset for help on using the changeset viewer.