#61318 closed defect (bug) (fixed)
wp_trigger_error() strips out allowed HTML tags
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.6 | Priority: | normal |
Severity: | normal | Version: | 6.6 |
Component: | General | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
Description
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.
Change History (6)
This ticket was mentioned in PR #6671 on WordPress/wordpress-develop by @thelovekesh.
10 months ago
#1
- Keywords has-patch has-unit-tests added
@thelovekesh commented on PR #6671:
10 months ago
#2
Hey @hellofromtonya 👋🏼
Can you please review this PR? Thanks.
@westonruter commented on PR #6671:
10 months ago
#4
Committed in r58361 (da1ad31).
Note: See
TracTickets for help on using
tickets.
Update allowed HTML tags declaration in
wp_trigger_error()
.Trac ticket: https://core.trac.wordpress.org/ticket/61318