Make WordPress Core

Opened 7 years ago

Last modified 14 months ago

#30761 new defect (bug)

Label of button should read scheduled on quick edit posts when future date set

Reported by: TheCellarRoom Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 2.7
Component: Quick/Bulk Edit Keywords: has-patch needs-refresh
Focuses: accessibility, administration Cc:


quick edit a draft post and set the date to any future time, the button says 'publish' rather than 'schedule' as it does on the main edit post page.

possibly related to : #19907 #8529

Attachments (1)

30761.1.patch (3.5 KB) - added by GunGeekATX 7 years ago.
Proposed patch

Download all attachments as: .zip

Change History (6)

#1 @TheCellarRoom
7 years ago

clarity: it's the 'publish' in the drop down box for status that should read scheduled the button says 'update' all the time.

#2 @nacin
7 years ago

  • Component changed from Administration to Quick/Bulk Edit
  • Focuses administration added
  • Keywords needs-patch added
  • Version changed from 4.1 to 2.7

Makes sense to me.

#3 @GunGeekATX
7 years ago

  • Keywords has-patch added; needs-patch removed

Proposed patch updates the following:

  1. inline-edit-post.js: new updateText function (copied and modified from the one in post.js), updates the drop down item to either Scheduled or Published
  2. class-wp-posts-list-table.php: has a new hidden div storing the current date and time, used by the inline-edit-post.js updates
  3. script-loader.php: added 'published' and 'scheduled' to the localized inlineEditL10n object.

While working on this, I noticed that when quick editing a scheduled post and setting the date to something earlier than the current date/time, the drop down still says Scheduled until you click Update, even though the post gets published. We could offer a little better visual indication that the post will be published if we change the drop down to say Published when the time is changed before clicking Update.

7 years ago

Proposed patch

#4 @swissspidy
5 years ago

  • Focuses accessibility added
  • Keywords needs-refresh added
  • Milestone changed from Awaiting Review to Future Release

#5 @sabernhardt
14 months ago

Related/duplicate: #38834

Note: See TracTickets for help on using tickets.