[wp-trac] [WordPress Trac] #44314: `user_confirmed_action_email_content` filter run on two different strings
WordPress Trac
noreply at wordpress.org
Sat Jun 16 09:05:45 UTC 2018
#44314: `user_confirmed_action_email_content` filter run on two different strings
--------------------------+---------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.9.7
Component: Privacy | Version: 4.9.6
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+---------------------
Comment (by birgire):
[attachment:44314.2.diff] takes the same approach as #44341, using the
[https://developer.wordpress.org/reference/functions/apply_filters_deprecated/
apply_filters_deprecated()], available since 4.6:
>When a filter hook is deprecated, the {{{apply_filters()}}} call is
replaced with
>{{{apply_filters_deprecated()}}}, which triggers a deprecation notice and
then fires the
>original filter hook.
@desrosj and @garrett-eclipse, what's your take on this approach here?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44314#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list