Opened 9 years ago
Closed 9 years ago
#36209 closed defect (bug) (invalid)
HTML Elements Stripped From Comment in Moderation Emails
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Comments | Keywords: | |
Focuses: | administration | Cc: |
Description
One of the new features slated for WordPress 4.5 is the ability to see formatted comments on their associated moderation screen instead large blocks of unformatted text, as explained here https://make.wordpress.org/core/2016/03/09/comment-changes-in-wordpress-4-5/
I'm running 4.5 beta 3 and noticed that WordPress is stripping HTML elements like H2, LI and P so I can't see a formatted comment. The moderation emails don't show the elements either. One element that does work is Code. The text also appears in a large block.
Attachments (1)
Change History (4)
#1
@
9 years ago
- Focuses administration added
- Keywords needs-patch needs-unit-tests added
- Version set to trunk
#3
@
9 years ago
- Keywords needs-patch needs-unit-tests removed
- Milestone 4.5 deleted
- Resolution set to invalid
- Status changed from new to closed
- Version trunk deleted
For users without the unfiltered_html
cap are only these tags allowed: https://core.trac.wordpress.org/browser/tags/4.4.2/src/wp-includes/kses.php#L416
Note: See
TracTickets for help on using
tickets.
Comment Approval Screen