Opened 16 years ago
Closed 16 years ago
#5753 closed defect (bug) (fixed)
Upgrade Complete Continue > "You attempted to edit a post that doesn't exist. Perhaps it was deleted?"
Reported by: | lloydbudd | Owned by: | |
---|---|---|---|
Milestone: | 2.5 | Priority: | lowest |
Severity: | trivial | Version: | |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
Upgrade Complete Continue > "You attempted to edit a post that doesn't exist. Perhaps it was deleted?"
ENV: WP trunk r6705 (2.4-bleeding)
Editing a post, and then Upgrade WordPress: link is http://localhost/wp/trunk/wp-admin/upgrade.php?step=1&backto=/wp/trunk/wp-admin/post.php?action=edit&post=44
upgrade.php:
if ( empty( $_GET['backto'] ) ) $backto = __get_option('home') . '/'; else $backto = clean_url(stripslashes($_GET['backto']));
So $_GET['backto']
is only /wp/trunk/wp-admin/post.php?action=edit
$_GET['post']
would be needed to return to the post.
ADDITIONAL DETAILS
Severity set to trivial, this bug just makes us look less than pros ;-)
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
URL Encode the goback url to preserve params.