#61318 closed defect (bug) (fixed)
wp_trigger_error() strips out allowed HTML tags
| Reported by: | thelovekesh | Owned by: | thelovekesh |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.6 |
| Component: | General | Version: | 6.6 |
| Severity: | normal | Keywords: | has-patch has-unit-tests |
| Cc: | Focuses: |
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.
2 years ago
#1
- Keywords has-patch has-unit-tests added
@thelovekesh commented on PR #6671:
2 years ago
#2
Hey @hellofromtonya 👋🏼
Can you please review this PR? Thanks.
@westonruter commented on PR #6671:
2 years ago
#4
Committed in r58361 (da1ad31).
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Update allowed HTML tags declaration in
wp_trigger_error().Trac ticket: https://core.trac.wordpress.org/ticket/61318