[wp-trac] [WordPress Trac] #57686: Introduce wp_trigger_error() to compliment _doing_it_wrong()

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


#57686: Introduce wp_trigger_error() to compliment _doing_it_wrong()
-------------------------------------------------+-------------------------
 Reporter:  azaozz                               |       Owner:
                                                 |  hellofromTonya
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.4
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  needs-dev-note has-patch has-unit-   |     Focuses:
  tests commit                                   |
-------------------------------------------------+-------------------------

Comment (by westonruter):

 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/57686#comment:64>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list