[wp-trac] [WordPress Trac] #34560: Server error after saving many revisions
WordPress Trac
noreply at wordpress.org
Tue Nov 10 02:35:59 UTC 2015
#34560: Server error after saving many revisions
-------------------------------------------------+-------------------------
Reporter: pdfernhout | Owner:
Type: defect (bug) | adamsilverstein
Priority: normal | Status: assigned
Component: Revisions | Milestone: Future
Severity: major | Release
Keywords: needs-unit-tests has-patch dev- | Version: 3.6
feedback needs-testing | Resolution:
| Focuses:
-------------------------------------------------+-------------------------
Comment (by adamsilverstein):
In [attachment:34560.4.diff]
* Rewrite `wp_get_post_autosave` to use direct query to find correct
autosave instead of getting all revisions then using PHP to loop thru and
find the correct autosave.
Not sure this helped memory much, it did reduce the largest query.
[[Image(http://cl.ly/image/1c2P2O2H3a11/Image%202015-11-09%20at%207.33.57%20PM.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34560#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list