WordPress.org

Make WordPress Core

Changes between Version 3 and Version 4 of Ticket #44332, comment 1


Ignore:
Timestamp:
06/09/2018 10:05:41 AM (3 years ago)
Author:
birgire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44332, comment 1

    v3 v4  
    33> When an action hook is deprecated, the {{{do_action()}}} call is replaced with {{{do_action_deprecated()}}}, which triggers a deprecation notice and then fires the original hook.
    44
    5 Similarly the [https://developer.wordpress.org/reference/functions/apply_filters_deprecated/ apply_filters_deprecated()] function.
     5Similarly the [https://developer.wordpress.org/reference/functions/apply_filters_deprecated/ apply_filters_deprecated()] function for deprecated filters.
    66
    77So in this case it might be replaced with: