[wp-trac] [WordPress Trac] #39459: Database upgrade is triggered on AJAX request

WordPress Trac noreply at wordpress.org
Wed Jan 4 08:48:33 UTC 2017


#39459: Database upgrade is triggered on AJAX request
-----------------------------+-----------------------------
 Reporter:  schlessera       |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:  4.7
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 After an update of WordPress Core from 4.5 to 4.7 on a multisite (not sure
 whether that's relevant or not here), my AJAX requests started failing.
 Looking at the responses I got back from the server showed that the server
 tried to trigger a database upgrade procedure on each AJAX request.

 I'm not sure whether this is intended behavior or not, but it was
 certainly unexpected for me.

 Should an AJAX request trigger the upgrade procedure? As the upgrade
 procedure is not meant to be needed immediately after an update, my first
 guess would be that AJAX requests should not trigger it and be able to
 complete successfully.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39459>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list