[wp-trac] [WordPress Trac] #30761: Label of button should read scheduled on quick edit posts when future date set

WordPress Trac noreply at wordpress.org
Tue Jan 27 15:57:17 UTC 2015


#30761: Label of button should read scheduled on quick edit posts when future date
set
-----------------------------+------------------------------
 Reporter:  TheCellarRoom    |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Quick/Bulk Edit  |     Version:  2.7
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:  administration
-----------------------------+------------------------------
Changes (by GunGeekATX):

 * keywords:  needs-patch => has-patch


Comment:

 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30761#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list