Ticket #8724 (closed defect (bug): fixed)

Opened 3 years ago

Last modified 3 years ago

WP reinstaller doesn't work

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

Description

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

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

Change History

ryan3 years ago

comment:1   ryan3 years ago

Does that help?

  • 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. :-)

D.

comment:3   ryan3 years ago

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

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

comment:4   ryan3 years ago

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

Note: See TracTickets for help on using tickets.