Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 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 7 years ago.

Download all attachments as: .zip

Change History (5)

@ryan7 years ago

comment:1 @ryan7 years ago

Does that help?

comment:2 @Denis-de-Bernardy7 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. :-)


comment:3 @ryan7 years ago

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

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

comment:4 @ryan7 years ago

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

Note: See TracTickets for help on using tickets.