WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#38704 closed defect (bug) (fixed)

REST API: `unfiltered_html` and slashing: comments

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

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

Download all attachments as: .zip

Change History (6)

@jnylen0
3 years ago

#1 @jnylen0
3 years ago

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

#2 @jnylen0
3 years ago

  • Keywords has-patch has-unit-tests added

#3 @rmccue
3 years ago

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

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


3 years ago

Note: See TracTickets for help on using tickets.