WordPress.org

Make WordPress Core

Opened 3 weeks ago

Last modified 3 weeks ago

#44515 new enhancement

Multisite: "Deactivate" And "Delete" Labels Are Confusing

Reported by: conner_bw Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.6
Component: Networks and Sites Keywords:
Focuses: multisite Cc:

Description

Problem: Some of our admins accidentally "Deleted" their sites when all they really wanted to do was "Delete" their site. (?!)

wp-admin/network/sites.php

  • "Deactivate" sets delete column to 1 in wp_blogs, recoverable action.
  • "Delete" runs wpmu_delete_blog() with $drop = true, unrecoverable action.

wp-admin/network/site-info.php?id=2

  • "Deleted" sets delete column to 1 in wp_blogs, recoverable action.

Suggestion: Change "Deleted" to "Deactivated"

$attribute_fields['deleted'] = __( 'Deactivated' );

https://github.com/WordPress/wordpress-develop/blob/97cacadc50716695d8c8d3afe129d901f4230266/src/wp-admin/network/site-info.php#L186

'deleted' => array( 'site-deleted', __( 'Deactivated' ) ),

https://github.com/WordPress/wordpress-develop/blob/97cacadc50716695d8c8d3afe129d901f4230266/src/wp-admin/includes/class-wp-ms-sites-list-table.php#L41

Attachments (1)

multisite-deactivate-vs-delete.png (59.4 KB) - added by conner_bw 3 weeks ago.

Download all attachments as: .zip

Change History (3)

#1 @conner_bw
3 weeks ago

  • Type changed from defect (bug) to enhancement

#2 @SergeyBiryukov
3 weeks ago

  • Component changed from Administration to Networks and Sites
Note: See TracTickets for help on using tickets.