Opened 3 years ago

Closed 2 years ago

#14032 closed defect (bug) (fixed)

When site is "Deactivated" it says "Deleted"

Reported by: bigdawggi Owned by: tmoorewp
Priority: normal Milestone: 3.1
Component: Multisite Version: 3.0
Severity: minor Keywords: has-patch
Cc: matt@…, wojtek.szkutnik@…, tim@…

Description

When you "deactivate" a site, the listing of sites on wp-admin/ms-sites.php displays the site as "deleted" as opposed to "inactive". This is slightly misleading, because there is a "Delete" link for the site which actually deletes the site from the database.

Attachments (3)

14032.diff (875 bytes) - added by wojtek.szkutnik 3 years ago.
14032-2.diff (2.5 KB) - added by tmoorewp 3 years ago.
14032-3.diff (629 bytes) - added by tmoorewp 3 years ago.

Download all attachments as: .zip

Change History (14)

  • Cc matt@… added
  • Keywords needs-patch added; delete deactivate multi-site removed
  • Milestone changed from Unassigned to 3.1
  • Cc wojtek.szkutnik@… added
  • Keywords has-patch needs-testing gsoc added; needs-patch removed
  • Keywords needs-refresh added; has-patch needs-testing gsoc removed
  • Milestone changed from Awaiting Triage to 3.1

Patch needs refresh.

  • Cc tim@… added
  • Keywords has-patch needs-testing added; needs-refresh removed
  • Owner set to tmoorewp
  • Status changed from new to assigned

14032-2.diff should do it. The db increment needs to be upped so that the $wpdb->blogs table gets modified.

Deleted == deactivated, I thought. We're not adding more fields.

Yeah, you're right. I didn't look at it the right way initially. I'll update the file tomorrow.

Here's a more accurate patch I tested this morning. Simple wording change in one of the class files.

  • Keywords tested added; needs-testing removed
  • Keywords tested removed
  • Resolution set to fixed
  • Status changed from assigned to closed

Looks like this has since been fixed during another commit, probably (most likely anyway) relating to #14579 and all the work carried out on it! :)

Note: See TracTickets for help on using tickets.