WordPress.org

Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #34560, comment 30


Ignore:
Timestamp:
11/10/2015 02:22:50 PM (4 years ago)
Author:
pdfernhout
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34560, comment 30

    v2 v3  
    3333}}}
    3434
    35 That fragment of code seems to call "wp_get_post_revisions" twice, btw. People seem to like calling that function a lot. LOL. :-)
     35That fragment of code seems to call "wp_get_post_revisions" twice, btw. People really seem to like calling that function a lot. LOL. :-)
    3636
    3737Still, what are the differences between the edit_post function in post.php and the code in edit_form_advanced.php? Perhaps there is some other bug which could become new issues issue related to differences between those two functions regarding upgrading revisions? Or maybe there are two separate new issues -- one definite issue on memory use for edit_post which calls wp_get_post_revisions when it may not need to, and another issue perhaps on _wp_upgrade_revisions_of_post not being called in edit-form-advanced.php when it should?