Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#38704 closed defect (bug) (fixed)

REST API: `unfiltered_html` and slashing: comments

Reported by: jnylen0's profile jnylen0 Owned by: rmccue's profile rmccue
Milestone: 4.7 Priority: normal
Severity: normal Version: 4.7
Component: REST API Keywords: has-patch has-unit-tests
Focuses: Cc:


Follow-up to #38609 for comments. Fixes slash handling and adds support for unfiltered_html plus a bunch of tests. Props @westonruter for the original patch (38609.0.diff).

Attachments (1)

38704.diff (14.5 KB) - added by jnylen0 7 years ago.

Download all attachments as: .zip

Change History (6)

7 years ago

#1 @jnylen0
7 years ago

Note 38704.diff includes a FIXME comment in the tests - this can go away once #38700 is fixed.

#2 @jnylen0
7 years ago

  • Keywords has-patch has-unit-tests added

#3 @rmccue
7 years ago

  • Milestone changed from Awaiting Review to 4.7
  • Owner set to rmccue
  • Status changed from new to assigned

#4 @rmccue
7 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 39157:

REST API: Respect unfiltered_html for HTML comment fields.

Same as [39155], but for comments, natch.

Props jnylen0.
Fixes #38704, see #38609.

This ticket was mentioned in Slack in #core-restapi by joehoyle. View the logs.

7 years ago

Note: See TracTickets for help on using tickets.