[wp-trac] [WordPress Trac] #54045: Editor/Docs: The place where `post_submitbox_minor_actions` is fired is misleading in the related DocBlock

WordPress Trac noreply at wordpress.org
Mon Sep 6 13:34:51 UTC 2021


#54045: Editor/Docs: The place where `post_submitbox_minor_actions` is fired is
misleading in the related DocBlock
-----------------------------------+-----------------------------
 Reporter:  audrasjb               |       Owner:  SergeyBiryukov
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  5.9
Component:  Editor                 |     Version:
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch 2nd-opinion  |     Focuses:  docs
-----------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"51732" 51732]:
 {{{
 #!CommitTicketReference repository="" revision="51732"
 Docs: Correct the `post_submitbox_minor_actions` hook description.

 The action fires after the Save Draft (or Save as Pending) and Preview (or
 Preview Changes) buttons in the Publish meta box.

 The previous description stated that the action fires before the post
 date/time setting, which was not quite correct, as there are also post
 status and visibility settings between the action and the date/time
 setting.

 Follow-up to [34895].

 Props bedas, audrasjb.
 Fixes #54045.
 }}}

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


More information about the wp-trac mailing list