[wp-trac] [WordPress Trac] #54028: Fix improper use of the hooks API

WordPress Trac noreply at wordpress.org
Sat Jan 29 18:24:49 UTC 2022


#54028: Fix improper use of the hooks API
--------------------------+---------------------
 Reporter:  azaozz        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.0
Component:  General       |     Version:  5.8
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+---------------------

Comment (by chesio):

 Here's one more instance of lambda function hooked to `add_action`:
 https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-includes
 /block-supports/duotone.php#L459-L467

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


More information about the wp-trac mailing list