Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#38631 closed enhancement (fixed)

REST API: Make 'types' attribute of an individual taxonomy more descriptive

Reported by: danielbachhuber's profile danielbachhuber Owned by: joehoyle's profile joehoyle
Milestone: 4.7 Priority: normal
Severity: normal Version:
Component: REST API Keywords: has-patch
Focuses: Cc:


Attachments (1)

38631.1.diff (728 bytes) - added by danielbachhuber 8 years ago.

Download all attachments as: .zip

Change History (4)

#1 @joehoyle
8 years ago

  • Owner set to joehoyle
  • Resolution set to fixed
  • Status changed from new to closed

In 39097:

REST API: Include taxonomies as an attribute of post types.

Add the taxonomies for a post type to the /wp/v2/types endpoint, so clients know which taxonomies are available for which post types.

Props danielbachhuber.
Fixes #38438, #38631.

#2 @danielbachhuber
8 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

#3 @rachelbaker
8 years ago

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

In 39103:

REST API: Use the items attribute for the taxonomies types schema property for proper sanitization/validation.

Props danielbachhuber, joehoyle.
Fixes #38631.

Note: See TracTickets for help on using tickets.