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

No way to transition post status to draft after scheduling without publishing first #8327

Closed
earnjam opened this issue Jul 31, 2018 · 0 comments
Assignees
Labels
[Feature] Saving Related to saving functionality [Type] Bug An existing feature does not function as intended

Comments

@earnjam
Copy link
Contributor

earnjam commented Jul 31, 2018

Describe the bug

If you schedule a post for the future, there is no way to unschedule or change it to a draft without publishing it first.

This is similar to #3772 but that appears to be resolved with relation to auto-saves. This occurs when you attempt to manually save/switch to a draft.

To Reproduce

  1. Create a post
  2. Schedule post for future date
  3. Adjust the date to the past
  4. Click "Save Draft"
  5. It publishes the post and button text is changed to "Convert to Draft", signifying that it is published.

Expected behavior

Clicking "Save Draft" should transition the post status back to draft without publishing. Otherwise there is no point to having both a "Save Draft" button and a "Publish" button visible.

Screenshots

Classic Editor

Somewhat confusing because the button still says "Publish" if you switch the status back to draft, but it at least gives you the option of making it a draft.
classic-editor-date

Gutenberg

gutenberg-draft-date

Additional context

  • Gutenberg v3.4
  • WP trunk
@earnjam earnjam added [Type] Bug An existing feature does not function as intended [Feature] Saving Related to saving functionality labels Jul 31, 2018
@earnjam earnjam self-assigned this Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Saving Related to saving functionality [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

1 participant