Right when the post is Published by the Administrator, I need to generate a unique ID for that post (this is done by the server). So the Contributor does not (and shouldn’t) enter anything.
Isn’t the action private_to_published
basically the same as transition_post_status
?
PS I also just realized WordPress has recently been auto-updated, not sure if this is causing it.