[wp-trac] [WordPress Trac] #30464: kses_allowed_protocols filter not working

WordPress Trac noreply at wordpress.org
Fri Mar 1 10:06:34 UTC 2024


#30464: kses_allowed_protocols filter not working
--------------------------+-------------------------
 Reporter:  hatul         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  4.0.1
 Severity:  normal        |  Resolution:  worksforme
 Keywords:  close         |     Focuses:
--------------------------+-------------------------

Comment (by itscript0):

 yes use kses_allowed_protocols filter, first you have to register it using
 add_filter. You can write this code into functions.php of your activated
 theme or in a custom WordPress Plugin.

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


More information about the wp-trac mailing list