Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#8724 closed defect (bug) (fixed)

WP reinstaller doesn't work

Reported by: Denis-de-Bernardy Owned by:
Milestone: 2.7.1 Priority: normal
Severity: major Version: 2.7
Component: Upgrade/Install Keywords: has-patch
Focuses: Cc:


I've been playing around with the new WP upgrader, and it is consistently refusing to reinstall WP on a stock 2.7.

I've tracked this down somewhat...

r10166 allowed a reinstall request to ask for the user's credentials, but it didn't change that form's action accordingly. It seems to me that the reinstall request is then forgotten. The procedure then fails with "WordPress is at the latest version." in wp_update_core(), because of a test on:

$current->response == 'latest'

anyway, I believe that the form action, when browsing update-core.php?action=do-core-reinstall, should be update-core.php?action=do-core-reinstall rather than its current value.

Attachments (1)

8724.diff (633 bytes) - added by ryan 12 years ago.

Download all attachments as: .zip

Change History (5)

12 years ago

#1 @ryan
12 years ago

Does that help?

#2 @Denis-de-Bernardy
12 years ago

  • Keywords has-patch added

Well, I haven't tested the patch but I created a plugin at the same time I reporting this, that essentially does the same thing using an output buffer. So I presume it will work. :-)


#3 @ryan
12 years ago

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

(In [10346]) Reinstall fix. fixes #8724 for trunk

#4 @ryan
12 years ago

(In [10347]) Reinstall fix. fixes #8724 for 2.7

Note: See TracTickets for help on using tickets.