Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#36209 closed defect (bug) (invalid)

HTML Elements Stripped From Comment in Moderation Emails

Reported by: jeffr0 Owned by:
Priority: normal Milestone:
Component: Comments Version:
Severity: normal Keywords:
Cc: Focuses: administration

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)

ApproveLink.png (168.1 KB ) - added by jeffr0 11 years ago.
Comment Approval Screen

Download all attachments as: .zip

Change History (4)

@jeffr0
11 years ago

Comment Approval Screen

#1 @chriscct7
11 years ago

  • Focuses administration added
  • Keywords needs-patch needs-unit-tests added
  • Versiontrunk

#2 @chriscct7
11 years ago

  • Milestone Awaiting Review4.5

#3 @ocean90
11 years ago

  • Keywords needs-patch needs-unit-tests removed
  • Milestone 4.5
  • Resolutioninvalid
  • Status newclosed
  • Version trunk

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.