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

WordPress Trac noreply at wordpress.org
Fri Jun 7 16:48:58 UTC 2024


#61318: wp_trigger_error() strips out allowed HTML tags
--------------------------------------+------------------------------
 Reporter:  thelovekesh               |       Owner:  thelovekesh
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  General                   |     Version:  trunk
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------
Changes (by westonruter):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58361" 58361]:
 {{{
 #!CommitTicketReference repository="" revision="58361"
 General: Fix array format for allowed HTML passed into wp_kses() for
 wp_trigger_error().

 Kses requires an associative array of allowed HTML.

 See #57686. Follow-up to [56707].

 Props thelovekesh, westonruter.
 Fixes #61318.
 }}}

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


More information about the wp-trac mailing list