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

WordPress Trac noreply at wordpress.org
Wed Jan 20 00:16:26 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 adamsilverstein):

 Replying to [comment:47 DBrumbaugh10Up]:
 > Things I did to make it more "oop":

 Great, thanks for helping out with this @DBrumbaugh10Up!

 Question: won't doing it this way result in the query running twice? Note
 that both wp-admin/edit-form-advanced.php and wp-includes/post-
 template.php load on the post edit page, so I think this means two objects
 get created? Trying to avoid that! Maybe I am reading it wrong, I can test
 as well.

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


More information about the wp-trac mailing list