• Let’s say I have custom post type (hierarchical). I have added rewrite to this post_type to drop it’s slug

    i.e. /custom-slug/%page-name% to /%page-name%

    First edit is fine. And revision is properly saving url. But editing original post (Backup revision) and saving it again causes url to generate bad slug – making old post 404.

Viewing 1 replies (of 1 total)
  • Plugin Author Maciej Bis

    (@mbis)

    Hi Arkadiusz,

    it seems that when URI gets duplicated, the draft posts have higher priority than the original/published post. The best option would be to simply exclude the draft posts IDs from the array with custom permalinks:

    https://pastebin.com/zjvpEppz

    Please paste this snippet to functions.php file in your (child) theme directory.

    Best regards,
    Maciej

Viewing 1 replies (of 1 total)
  • The topic ‘Revisionize support still broken’ is closed to new replies.