[wp-trac] [WordPress Trac] #34560: Server error after saving many revisions

WordPress Trac noreply at wordpress.org
Wed Nov 4 21:33:40 UTC 2015


#34560: Server error after saving many revisions
-------------------------------------------------+-------------------------
 Reporter:  pdfernhout                           |       Owner:
     Type:  defect (bug)                         |  adamsilverstein
 Priority:  normal                               |      Status:  assigned
Component:  Editor                               |   Milestone:  Future
 Severity:  major                                |  Release
 Keywords:  needs-unit-tests has-patch dev-      |     Version:  3.6
  feedback needs-testing                         |  Resolution:
                                                 |     Focuses:
-------------------------------------------------+-------------------------

Comment (by pdfernhout):

 As a caveat for any fix for this issue, issue #25233 from two years ago
 says: "Currently WordPress loads all the revisions in order to possibly
 upgrade them to the 3.6 versioning of revisions. It does so on every post
 loaded in wp-admin. It might make sense to move this to an upgrade routine
 or somewhere else as it adds to the performance degradation." That issue
 mentions other things to consider as well.

 I am not sure if that specific concern on upgrading revisions applies here
 or if data corruption/confusion could be a possibility somehow if that was
 not done and a very old post was editied. But it seemed worth mentioning
 in case upgrading all the post revisions was a crucial (but undocumented
 in the code) side-effect of counting revisions inefficiently in the
 original editor code?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34560#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list