[wp-trac] [WordPress Trac] #14640: Feature Requst: Add Action Hook "post_submitbox_end"
WordPress Trac
noreply at wordpress.org
Mon Jan 26 20:35:22 UTC 2015
#14640: Feature Requst: Add Action Hook "post_submitbox_end"
-------------------------+-----------------------------
Reporter: ancawonka | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Editor | Version: 3.0.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+-----------------------------
Comment (by DrewAPicture):
Replying to [comment:5 drozdz]:
> @ericlewis:
> In another light: if we say no to this action, why do we add any action
at all? You always can unregister something and do it with your own custom
code...
>
> Submitbox is a complex meta box, so I really don't see a reason to
implement it all by myself (and dealing with compatibility risks) just to
add my custom button in there. Especially if there is already
`post_submitbox_start` hook - so, IMHO, `post_submitbox_end` would be just
a sign of consistency.
I think the main issue at hand is that there are broad plans to re-frame
this workflow in the future and every hook we add means yet one more thing
we have to support for backward compatibility. Every time a hook is added
anywhere in core, we have to weigh not what it might be used for now, but
how it might be used in the future and how that will affect our ability to
support that usage.
Adding a hook is easy, supporting it from now until the end of time is
another thing entirely :-)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/14640#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list