[wp-trac] [WordPress Trac] #18712: Database upgrade script can kill POST requests
WordPress Trac
wp-trac at lists.automattic.com
Tue Sep 20 03:56:10 UTC 2011
#18712: Database upgrade script can kill POST requests
----------------------------+-----------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.3
Component: Administration | Version:
Severity: normal | Keywords:
----------------------------+-----------------
If a site upgrade is done whilst a user is active, a database upgrade may
be triggered on a POST request.
The result of this is that the POST data is lost, and the user may be
redirected to a page without any query vars (as they were POST vars, not
GET).
Since the Database upgrades are upgrades which are generally not necessary
to be performed at that exact instant, we can avoid running the upgrade on
POST requests with data (such as the Save Draft action), and let the
following GET have the honours (as most POST requests will perform a
redirect to a GET afterwards).
Related: #7965 - Database upgrade complete message should be an admin
notice
As reported by Matt
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18712>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list