Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#38726 closed defect (bug) (fixed)

REST API: `unfiltered_html` and slashing: terms

Reported by: jnylen0's profile jnylen0 Owned by: joehoyle's profile joehoyle
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 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 8 years ago.

Download all attachments as: .zip

Change History (8)

@jnylen0
8 years ago

#1 @jnylen0
8 years ago

  • Keywords has-patch has-unit-tests added

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


8 years ago

#3 @jnylen0
8 years ago

  • Milestone changed from Awaiting Review to 4.7

#4 @joehoyle
8 years ago

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

#5 @joehoyle
8 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
8 years ago

In 39192:

REST API: Use wp_slash rather than addslashes.

See #38726.
Props dd32.

#7 @joehoyle
8 years ago

In 39193:

REST API: Fix test for unfiltered_html under multisite.

See #38726.

Note: See TracTickets for help on using tickets.