hmm I’ve reviewed the code and the only way this cab happen is if you left the expiry date recorded on the post AND you also transitioned from archive to some other post status (e.g. draft) before (re) publishing the posr
I might make the code a bit tighter to cover the above edge case. But I’d need to think of any other implications
in the mean time you could try either transitioning directly from archive to publish or changing the post to draft and deleting the expiry date before (re)publishing the post
if it’s still
a problem then it’s another plugin interfering with things. In which case deactivate them all and try again.
resolving this for good order but will still monitor and reopen if appropriate
Sorry – missed your post. I do go directly from Archive to Published – not to draft. The post does revert back. I lost access to all of my Archived posts when I deactivated the plugin – assuming posts would shift archive to draft or something but was pleased to find them when I re activated the plugin. I am able to restore pages but am concerned if they revert again. At this point I am just activating and deactivating as I need it and that is a workable fix. When I have time I will try again and let you know if it is still happening. You can leave it closed – its only helpful if others are experiencing this as well – otherswise its something in my environment.
hmm straight from archive to publish should automatically remove the archive date (which is very likely the thing that’s causing the issue) that it doesn’t indicates indicates your installation has other problems
have you tried removing the archive date manually on publish?