WordPress.org

Make WordPress Core

Opened 5 years ago

Last modified 12 months ago

#38834 new defect (bug)

Quick Edit for future dated posts shows 'published' instead of 'scheduled'

Reported by: Ipstenu Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Quick/Bulk Edit Keywords: has-patch needs-testing
Focuses: ui, javascript Cc:

Description

If you make a post and schedule it for the future, quick edit properly shows it's dropdown as 'scheduled' if you want to change post status.

If, however, you have a future dated post that you *want* to schedule, but it's in draft, the option is paradoxically 'Published.'

This leads to uncertainty as to what the next step actually is. The dropdown should alter itself based on what your current saved date is (it not ajaxifiedly adapt on the fly).

Attachments (3)

Screen Shot 2016-11-16 at 9.41.28 AM.png (47.9 KB) - added by Ipstenu 5 years ago.
Example: That should say schedule not publish
38834.diff (949 bytes) - added by MrFlannagan 5 years ago.
The patch checks if the current date and time is before that of a post then instead of removing the "Schedule" option on an inline post edit in draft mode, it leaves "Schedule" and removes "Publish"
38834.1.diff (992 bytes) - added by sabernhardt 12 months ago.
patch refreshed

Download all attachments as: .zip

Change History (8)

@Ipstenu
5 years ago

Example: That should say schedule not publish

@MrFlannagan
5 years ago

The patch checks if the current date and time is before that of a post then instead of removing the "Schedule" option on an inline post edit in draft mode, it leaves "Schedule" and removes "Publish"

This ticket was mentioned in Slack in #core by jjj. View the logs.


3 years ago

#5 @noisysocks
13 months ago

  • Keywords needs-refresh added

38834.diff no longer applies cleanly.

@sabernhardt
12 months ago

patch refreshed

#6 @sabernhardt
12 months ago

  • Component changed from Editor to Quick/Bulk Edit
  • Focuses javascript added
  • Keywords has-patch needs-testing added; needs-refresh removed
  • Milestone changed from Awaiting Review to Future Release

38834.1.diff refreshes the first patch and replaces the deprecated $.now() method.

#7 @sabernhardt
12 months ago

Related/duplicate: #30761 ...oops, already mentioned in comment:1

Last edited 12 months ago by sabernhardt (previous) (diff)
Note: See TracTickets for help on using tickets.