Make WordPress Core

Opened 11 years ago

Closed 11 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:


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

Download all attachments as: .zip

Change History (4)

11 years ago

#1 @sivel
11 years ago

  • Keywords has-patch dev-feedback added

#2 @westi
11 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.

#3 @wpmuguru
11 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.