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

WordPress Trac noreply at wordpress.org
Sat Aug 28 05:29:12 UTC 2021


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

Comment (by donmhico):

 Nice catch @azaozz!

 I've converted the filters in the following files:
 - https://github.com/WordPress/wordpress-develop/blob/master/src/wp-admin
 /edit-form-blocks.php#L32
 - https://github.com/WordPress/wordpress-develop/blob/master/src/wp-admin
 /options-privacy.php#L21
 - https://github.com/WordPress/wordpress-develop/blob/master/src/wp-admin
 /privacy-policy-guide.php#L20

 I'll try to work on the other files as time permits.

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


More information about the wp-trac mailing list