In Gutenberg Editor, the post status (original_post_status) is not updating as expected. The hidden input original_post_status value is not properly update based on the post status update action. Whenever, we publish the post first time and with out refreshing the post the original_post_status value is not updating.
Step-by-step reproduction instructions
Go to Posts | Add New Post.
Enter content and block.
Publish the post.
Screenshots, screen recording, code snippet
On adding the new Post and before it get published.
Status: auto-draft (expected result: auto-draft)
After publishing the post
Status: auto-draft (expected result: publish)
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered:
We are unable to convert the task to an issue at this time. Please try again.
The issue was successfully created but we are unable to update the comment at this time.
mavinothkumar commentedSep 20, 2021
Description
Hi,
In Gutenberg Editor, the post status (original_post_status) is not updating as expected. The hidden input original_post_status value is not properly update based on the post status update action. Whenever, we publish the post first time and with out refreshing the post the original_post_status value is not updating.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
On adding the new Post and before it get published.
After publishing the post
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: