Issue with scheduled posts and "Public Preview" status
-
Hi,
I noticed that “Public Preview” is still present for posts that were auto published ( scheduled posts ). Updating the post doesn’t flush “public Preview” status.
I think that ‘save_post’ hook isn’t call for scheduled posts. Maybe you could add
add_action( 'save_post', array( __CLASS__, 'register_public_preview' ), 20, 2 );
also for “publish_post”?https://codex.wordpress.org/Plugin_API/Action_Reference/publish_post
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Issue with scheduled posts and "Public Preview" status’ is closed to new replies.