Changes between Initial Version and Version 1 of Ticket #16215, comment 83
- Timestamp:
- 04/02/2013 02:07:40 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16215, comment 83
initial v1 3 3 Yeah, was looking into that too. `_wp_upgrade_revisions_of_post()` has to run before the revisions postbox is shown, so we show the corrected authors and have the extra revision in there. 4 4 5 We are calling `wp_get_post_revisions()` on every load of edit-form-advanced.php (when determining whether to show the postbox), perhaps we can move the call to `_wp_upgrade_revisions_of_post()` there. We need to load the revisions so we can check the version.5 We are calling `wp_get_post_revisions()` on every load of edit-form-advanced.php (when determining whether to show the postbox), perhaps we can move the call to `_wp_upgrade_revisions_of_post()` there. We can use the loaded revisions to check the version, then upgrade them if needed.