[wp-trac] [WordPress Trac] #34560: High memory usage ( and possible server error) editing post with many/large revisions

WordPress Trac noreply at wordpress.org
Tue Mar 1 10:25:50 UTC 2016


#34560: High memory usage ( and possible server error) editing post with many/large
revisions
-------------------------------------+-------------------------------------
 Reporter:  pdfernhout               |       Owner:  adamsilverstein
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  Future Release
Component:  Revisions                |     Version:  3.6
 Severity:  major                    |  Resolution:
 Keywords:  needs-unit-tests has-    |     Focuses:  administration,
  patch dev-feedback needs-testing   |  performance
-------------------------------------+-------------------------------------

Comment (by martijn-van-der-kooij):

 I'm really glad this issue is detected and solved!

 Thanks Paul, Adam and David!

 I'm currently using a workaround in our plugin to improve the speed of
 retrieving the last autosave.

 (I copied the wp_get_post_autosave function and adjusted it to use the
 "$post[ID]-autosave-v1" as post_name in the args of
 wp_get_post_revisions.)

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


More information about the wp-trac mailing list