[wp-trac] [WordPress Trac] #44341: Replace _deprecated_function( 'add_filter' ) with apply_filters_deprecated()

WordPress Trac noreply at wordpress.org
Tue Jul 17 07:37:31 UTC 2018


#44341: Replace  _deprecated_function( 'add_filter' ) with
apply_filters_deprecated()
---------------------------------------------+---------------------
 Reporter:  birgire                          |       Owner:  pento
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  4.9.8
Component:  Editor                           |     Version:  4.3
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  good-first-bug has-patch commit  |     Focuses:  docs
---------------------------------------------+---------------------
Changes (by pento):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"43464" 43464]:
 {{{
 #!CommitTicketReference repository="" revision="43464"
 Editor: Use `apply_filters_deprecated()` for some deprecated filters.

 The `htmledit_pre` and `richedit_pre` filters have been deprecated since
 4.3.0, since before `apply_filters_deprecated()` existed. They're now
 correctly run using `apply_filters_deprecated()`.

 Props sebastienthivinfocom, lbenicio, ianbelanger.
 Fixes #44341.
 }}}

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


More information about the wp-trac mailing list