Revisions: optimize performance when post has large number of revisions.
Improve speed and reduce the memory footprint when loading posts with many revisions. * Use a direct query in `wp_get_post_autosave` to avoid loading all revisions. * Query for IDs vs full objects in `register_and_do_post_meta_boxes`. Props pdfernhout, johnnyb, miqrogroove, ocean90, senatorman, DBrumbaugh10Up, martijn-van-der-kooij, pavelevap, mackensen, mikeyarce, whyisjake. Fixes #34560. Built from https://develop.svn.wordpress.org/trunk@48422 git-svn-id: https://core.svn.wordpress.org/trunk@48191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Loading
Please register or sign in to comment