Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post Status is not updating in Gutenberg Editor #34958

Open
mavinothkumar opened this issue Sep 20, 2021 · 0 comments
Open

Post Status is not updating in Gutenberg Editor #34958

mavinothkumar opened this issue Sep 20, 2021 · 0 comments

Comments

@mavinothkumar
Copy link
Contributor

@mavinothkumar mavinothkumar commented Sep 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

  1. Go to Posts | Add New Post.
  2. Enter content and block.
  3. Publish the post.

Screenshots, screen recording, code snippet

On adding the new Post and before it get published.

  1. Status: auto-draft (expected result: auto-draft)

before-post-publish

After publishing the post

  1. Status: auto-draft (expected result: publish)
    after-post-published

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant