Skip to content

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

@bompus

Description

@bompus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    request/enhancementIndicates an Enhancement Request for an existing feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions