Changes between Version 1 and Version 2 of Ticket #16215, comment 42
- Timestamp:
- 03/20/2013 09:11:03 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16215, comment 42
v1 v2 8 8 9 9 had asked @nacin about upgrading post data on WordPress database upgrade, but he said no. all thats required is running wp_save_post_revision on every post. wp_save_post_revision checks if a current post copy exists as a revision and saves a copy if not. 10 11 developers can safely call wp_save_post_revision() to make sure a current revision exists (it will not create a duplicate if one already exists).