Make WordPress Core

Opened 17 years ago

Closed 16 years ago

#10986 closed defect (bug) (fixed)

Useless continue link for upgrade page

Reported by: filosofo's profile filosofo Owned by: ryan's profile ryan
Milestone: 3.0 Priority: normal
Severity: normal Version: 2.9
Component: Upgrade/Install Keywords: has-patch upgrade backto
Focuses: Cc:

Description

If you request the upgrade page directly, e.g. site.com/wp-admin/upgrade.php, then the "backto" argument is empty. With current behavior, when backto is empty, WP sets the "continue" link to an empty string, which leads you to the same page you're already on.

So the workflow ends up being:

  • request upgrade page
  • click "upgrade wp database" link
  • see "upgrade complete"; click "continue" link
  • see "no upgrade required"; click continue link
  • end on home page

The fourth step is unnecessary and removed by the patch, which sets continue link to home when backto is empty.

Attachments (1)

remove_extra_upgrade_click.10986.diff (535 bytes) - added by filosofo 17 years ago.

Download all attachments as: .zip

Change History (2)

#1 @dd32
16 years ago

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

See: [12744] Always set a goback link on upgrade page. Props filosofo. Fixes #10986

Note: See TracTickets for help on using tickets.