• Resolved blogger323

    (@blogger323)


    I understand WP 3.6 has changed to have a revision with same content as a current post. It seems that WP 3.6 updates a current post record first and copies it as a revision next. It works fine when I first publish posts in WP 3.6.

    But if I update an existing post from WP 3.5, content before update will be lost because WP 3.6 would update it before copy it and no revision with same content is there. I believe it’s needed to take care of it. But I couldn’t find code for this purpose. Is there?

    (using ‘3.6-beta2-24237’)

Viewing 1 replies (of 1 total)
  • Thread Starter blogger323

    (@blogger323)

    I found that _wp_upgrade_revisions_of_post is called in edit-form-advanced.php to take care of this matter. It seems to work fine now.

Viewing 1 replies (of 1 total)
  • The topic ‘Updating posts published before WP 3.6’ is closed to new replies.