[wp-trac] [WordPress Trac] #10441: Show warning when deprecated hook is registered
WordPress Trac
noreply at wordpress.org
Mon Jul 18 18:43:20 UTC 2016
#10441: Show warning when deprecated hook is registered
------------------------------------+---------------------------
Reporter: sirzooro | Owner: boonebgorges
Type: feature request | Status: closed
Priority: normal | Milestone: 4.6
Component: Plugins | Version:
Severity: normal | Resolution: fixed
Keywords: dev-feedback has-patch | Focuses:
------------------------------------+---------------------------
Comment (by DrewAPicture):
Replying to [comment:48 jrf]:
> @DrewAPicture Oh. That's unexpected. A new ticket for each hook ? That's
something like fifty tickets. Sorry. In that case, I pass. Got better
things to do with my time.
>
> All these hooks are already marked as deprecated, all the patch is about
is switching them over to the new functions.
>
> Anyways, thanks for the reply.
I would say we could do a ticket per file or component, but yes, marking
something deprecated in an inline comment and ''actually deprecating'' it
require different levels of discussion and approval.
Doing huge tickets covering a lot of independent elements can easily get
confusing both in present and past tense when somebody comes along later
wondering why something was changed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/10441#comment:49>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list