Opened 4 years ago
Closed 4 years ago
#54045 closed defect (bug) (fixed)
Editor/Docs: The place where `post_submitbox_minor_actions` is fired is misleading in the related DocBlock
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Editor | Keywords: | has-patch 2nd-opinion |
Focuses: | docs | Cc: |
Description
The place where post_submitbox_minor_actions
is fired is misleading in the related DocBlock.
It says "Fires before the post time/date setting in the Publish meta box" but it fires right at the end of the .minor-publishing-actions
<div>
element.
I think we should rather indicate that it fires "after the save and preview settings in the Publish meta box" or "before the post status setting in the Publish meta box". Both are accurate, but I think the first one is better as the action hook is placed inside the <div>
that contains both the save and preview settings.
Please also props @bedas for their feedback on DevHub user contributed notes.
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
First proposal: Fires after the Save and Preview settings