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

WordPress Trac noreply at wordpress.org
Tue Jun 26 18:44:07 UTC 2018


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

 * keywords:  good-first-bug has-patch needs-refresh => good-first-bug has-
     patch


Comment:

 Thanks, @ianbelanger. This looks good.

 The only thing that I am not sure of is whether the `/** This filter is
 documented in wp-includes/deprecated.php */` docblock should also contain
 a `@deprecated` tag.

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


More information about the wp-trac mailing list