Make WordPress Core

Opened 8 years ago

Closed 3 years ago

Last modified 3 years ago

#44515 closed defect (bug) (duplicate)

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

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

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 8 years ago.

Download all attachments as: .zip

Change History (7)

#1 follow-up: @conner_bw
8 years ago

  • Type defect (bug) → enhancement

#2 @SergeyBiryukov
8 years ago

  • Component Administration → Networks and Sites

#3 in reply to: ↑ 1 @afoc
6 years ago

I agree that some more clarity on this would be nice.

#4 @afoc
6 years ago

  • Type enhancement → defect (bug)

Additionally, when a site is deactivated and it shows up in the site list highlighted in red, it should say "deactivated" and not "deleted".

I disagree that this is an enhancement rather than a defect, because it is a conflation of two very distinct, widely understood English words. The implications of an admin making this mistake, which specifically would only happen because WP core confusingly misuses "delete" to mean "deactivate" in a few different areas, are both startling and destructive.

#5 @ideag
3 years ago

  • Resolution → duplicate
  • Status new → closed

This is a duplicate of #15801

#6 @desrosj
3 years ago

  • Milestone Awaiting Review
Note: See TracTickets for help on using tickets.