WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#38726 closed defect (bug) (fixed)

REST API: `unfiltered_html` and slashing: terms

Reported by: jnylen0 Owned by: joehoyle
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 and #38704; handle slashes correctly for taxonomy terms. Props @westonruter for original patch (38609.0.diff).

Attachments (1)

38726.diff (7.1 KB) - added by jnylen0 3 years ago.

Download all attachments as: .zip

Change History (8)

@jnylen0
3 years ago

#1 @jnylen0
3 years ago

  • Keywords has-patch has-unit-tests added

This ticket was mentioned in Slack in #core by jnylen. View the logs.


3 years ago

#3 @jnylen0
3 years ago

  • Milestone changed from Awaiting Review to 4.7

#4 @joehoyle
3 years ago

  • Owner set to joehoyle
  • Status changed from new to assigned

#5 @joehoyle
3 years ago

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

In 39190:

REST API: unfiltered_html and slashing: terms.

Follow-up to #38609 and #38704; handle slashes correctly for taxonomy terms.

Props westonruter, jnylen0.
Fixes #38726, see #38609.

#6 @joehoyle
3 years ago

In 39192:

REST API: Use wp_slash rather than addslashes.

See #38726.
Props dd32.

#7 @joehoyle
3 years ago

In 39193:

REST API: Fix test for unfiltered_html under multisite.

See #38726.

Note: See TracTickets for help on using tickets.