Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 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:

Description

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 8 years ago.

Download all attachments as: .zip

Change History (6)

@jnylen0
8 years ago

#1 @jnylen0
8 years ago

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

#2 @jnylen0
8 years ago

  • Keywords has-patch has-unit-tests added

#3 @rmccue
8 years ago

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

#4 @rmccue
8 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.


8 years ago

Note: See TracTickets for help on using tickets.