[wp-trac] [WordPress Trac] #61318: wp_trigger_error() strips out allowed HTML tags

WordPress Trac noreply at wordpress.org
Wed May 29 14:48:34 UTC 2024


#61318: wp_trigger_error() strips out allowed HTML tags
--------------------------+-----------------------------
 Reporter:  thelovekesh   |      Owner:  thelovekesh
     Type:  defect (bug)  |     Status:  assigned
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 The function wp_trigger_error() allows certain HTML tags in the error
 message. However, it isn't working correctly because wp_kses() expects the
 allowed HTML tags to be specified in an associative array format.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61318>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list