Opened 13 years ago
Closed 13 years ago
#18537 closed defect (bug) (invalid)
Not continuing to upload image dialog after WP database upgrade.
Reported by: | jb510 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 3.3 |
Component: | Media | Keywords: | |
Focuses: | Cc: |
Description
I was editing a post in one window in WP 3.2.1, and then with FTP updated my site to the latest nightly build via FTP (revision 18619 - because I wanted to try the new drag/drop uploader).
I then went back to the post in progress without opening/closing windows and clicked the insert image icon which popped up a modal saying I needed the upgrade the database. I updated the database and then was presented with my site's front page inside the modal window… when expecting to see the image upload dialog.
I exited the window, clicked insert image again, and was the dialog this time read "No Update Required - (continue)". I clicked continue and again was shown the front page inside the modal, as shown in the screenshot… this bug then repeats… but only for this one post. I tried starting another new post and it made it through to the upload dialog.
At this point I quit and reopened my browser. I was prompted to login again and this time clicking the image upload button made it through to the upload dialog as expected.
I'm guessing a cookie is getting set and not cleared properly but not sure.
Attachments (1)
Change History (3)
#2
in reply to:
↑ 1
@
13 years ago
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
Replying to dd32:
Browsers cache redirects, It sounds like the redirection to the upgrade screen is using a permanent redirect instead of a temporary redirect potentially, or your browser is caching the temporary redirect anyway.
Redirection to the upgrade screen is performed by wp_redirect()
, which uses 302 Found by default:
http://core.trac.wordpress.org/browser/tags/3.2.1/wp-admin/admin.php#L44
Looks like the latter is happening (browser is caching the temporary redirect).
jb510 said it worked after restarting the browser, so I guess the ticket can be closed.
Browsers cache redirects, It sounds like the redirection to the upgrade screen is using a permanent redirect instead of a temporary redirect potentially, or your browser is caching the temporary redirect anyway..
Close your browser, and re-open it, and it should forget the redirection and work as expected.