_wp_upgrade_revisions_of_post
- %1$s is private and should not be used in themes or plugins directly.
_wp_upgrade_revisions_of_post ( $post, $revisions )
Access:Parameters:- (WP_Post) post Post object
- (array) revisions Current revisions of the post
Returns:- (bool) true if the revisions were upgraded, false if problems
Defined at: - Introduced in WordPress: 3.6.0
- Deprecated in WordPress: —
Description
Upgrade the revisions author, add the current post as a revision and set the revisions version to 1