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

WordPress Trac noreply at wordpress.org
Sat Jul 11 12:28:22 UTC 2020


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

Comment (by SergeyBiryukov):

 In [changeset:"48436" 48436]:
 {{{
 #!CommitTicketReference repository="" revision="48436"
 Revisions: Replace `array_shift()` with `reset()` in
 `register_and_do_post_meta_boxes()` for better performance.

 Follow-up to [31829], [48422].

 See #34560.
 }}}

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


More information about the wp-trac mailing list