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

WordPress Trac noreply at wordpress.org
Tue Jul 17 15:04:06 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
  fixed-major                                    |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"43482" 43482]:
 {{{
 #!CommitTicketReference repository="" revision="43482"
 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.
 Merges [43464] to the 4.9 branch.
 Fixes #44341.
 }}}

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


More information about the wp-trac mailing list