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

Publish button is clickable, but does nothing for "future" scheduled posts. #5681

Closed
bompus opened this issue Sep 6, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@bompus
Copy link

commented Sep 6, 2018

Prerequisites

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • The issue still exists against the latest stable version of Elementor.

Description

Support reproduced this bug/feature and requested I submit an issue.

If a post has post_status of future, meaning it is scheduled, it appears the PUBLISH button is green and clickable, but does nothing when clicked. No XHR request, no errors, just does nothing.

I believe this is because the page status settings in Elementor aren't aware of the future (Scheduled) post status as an option.

Screenshot of the Status dropdown: https://dl.dropboxusercontent.com/s/flxqd6w5c92x5xy/chrome_2018-09-03_13-02-14.png

When a post is scheduled, this Status dropdown is blank. If I select an option, such as Draft, the Publish button then works, and remarkably, luckily, it remains scheduled. I can also use the "Save as Draft" feature as the workaround, but the PUBLISH button really should function if it's green and clickable.

Can you update Elementor to be aware of the Scheduled "future" post_status, perhaps simply by adding the Scheduled to this dropdown. Ideally, the Publish button would then say SCHEDULE, but that isn't necessary as long as PUBLISH works without needing to perform the workaround of switching the Status to Draft, then clicking PUBLISH.

Steps to reproduce

  1. Create a new post that is scheduled. Click Edit next to publish immediately to choose a future date for publishing. This post will then be saved by WP with a post_status of future.
  2. Edit with Elementor
  3. Add a text widget so that the PUBLISH button switches from inactive to active (green color)
  4. Click PUBLISH
  5. This is where I expect something to happen. Nothing happens. No XHR request. No console errors or logs.

Isolating the problem

  • This bug happens with only Elementor plugin active (and Elementor Pro).
  • This bug happens with a default WordPress theme active.
  • I can reproduce this bug consistently using the steps above.

Environment

This shouldn't pertain to this bug, as I've reproduced on a fresh WP and Elementor install on different web hosts. Support reproduced this bug/feature and requested I submit an issue.

programmin1 pushed a commit to programmin1/elementor that referenced this issue Oct 27, 2018

@programmin1 programmin1 referenced this issue Oct 27, 2018

Closed

Fix Elementor future saving #6000

4 of 12 tasks complete

matipojo added a commit to matipojo/elementor that referenced this issue Nov 1, 2018

@KingYes KingYes closed this in c719d01 Nov 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.