[wp-trac] [WordPress Trac] #44515: Multisite: "Deactivate" And "Delete" Labels Are Confusing

WordPress Trac noreply at wordpress.org
Wed Jul 4 21:14:48 UTC 2018


#44515: Multisite: "Deactivate" And "Delete" Labels Are Confusing
----------------------------+-----------------------------
 Reporter:  conner_bw       |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  4.9.6
 Severity:  normal          |   Keywords:
  Focuses:  multisite       |
----------------------------+-----------------------------
 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

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44515>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list