[wp-trac] [WordPress Trac] #48817: do_action_deprecated and apply_filters_deprecated $replacement param should default to null

WordPress Trac noreply at wordpress.org
Wed Nov 27 21:39:41 UTC 2019


#48817: do_action_deprecated and apply_filters_deprecated $replacement param should
default to null
--------------------------------------+---------------------
 Reporter:  felipeelia                |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  5.4
Component:  Plugins                   |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+---------------------
Changes (by felipeelia):

 * keywords:  good-first-bug dev-feedback has-patch => good-first-bug has-
     patch


Comment:

 Hey @shaampk1! Yes, the last patch addresses what I was trying to
 highlight :)

 I've noticed the problem while hooking a function to the `delete_blog`
 action and I guess that that and `deleted_blog` actions are the only ones
 that don't provide any replacement.

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


More information about the wp-trac mailing list