Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#13873 closed defect (bug) (fixed)

ms-delete-site.php using incorrect vars

Reported by: sivel's profile sivel Owned by: wpmuguru's profile 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 13 years ago.

Download all attachments as: .zip

Change History (4)

@sivel
13 years ago

#1 @sivel
13 years ago

  • Keywords has-patch dev-feedback added

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