WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#13873 closed defect (bug) (fixed)

ms-delete-site.php using incorrect vars

Reported by: sivel Owned by: wpmuguru
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: General Keywords: has-patch
Focuses: Cc:

Description

When using a subdirectory install ms-delete-site.php displays something similar to the following when trying to delete http://example.org/somesite/:

I'm sure I want to permanently disable my site, and I am aware I can never get it back or use example.org/ again.

I imagine this message should actually reflect example.org/somesite/ instead of just example.org/

When not a sub domain install we are using $current_site instead of $current_blog, likely we could be using $current_blog here

Attachments (1)

13873.diff (1.1 KB) - added by sivel 4 years ago.

Download all attachments as: .zip

Change History (4)

sivel4 years ago

comment:1 sivel4 years ago

  • Keywords has-patch dev-feedback added

comment:2 westi4 years ago

  • Cc westi added
  • Keywords dev-feedback removed
  • Owner set to wpmuguru
  • Status changed from new to assigned

Looks sensible to me that it would always use $current_blog there.

comment:3 wpmuguru4 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [15245]) use site details on confirm delete site, props sivel, fixes #13873.diff

Note: See TracTickets for help on using tickets.