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

WordPress Trac noreply at wordpress.org
Sat Jun 16 09:18:43 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:  needs-patch good-first-bug  |     Focuses:
----------------------------------------+---------------------

Comment (by birgire):

 Thanks for the patch @lbenicio and @sebastien at thivinfo.com

 The patch in [attachment:44341.diff] seems to be unrelated.

 The patch in [attachment:44341.2.diff] duplicates a comment line.

 Shouldn't we also add inline documentation for the filters, including the
 `@deprecate` tag with the version when it was deprecated?

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


More information about the wp-trac mailing list