Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#39987 closed defect (bug) (fixed)

Register missing REST API properties on WP_Taxonomy

Reported by: danielbachhuber's profile danielbachhuber Owned by: swissspidy's profile swissspidy
Milestone: 4.7.4 Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords: has-patch fixed-major
Focuses: Cc:

Description

The following properties are missing on the class:

  • $show_in_rest
  • $rest_base
  • $rest_controller_class

Attachments (1)

39987.1.diff (1.4 KB) - added by danielbachhuber 8 years ago.

Download all attachments as: .zip

Change History (6)

#1 @swissspidy
8 years ago

  • Owner set to swissspidy
  • Status changed from new to reviewing

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


8 years ago

#3 @swissspidy
8 years ago

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

In 40303:

Taxonomy: Add missing REST API properties to WP_Taxonomy class.

Props danielbachhuber.
Fixes #39987.

#4 @swissspidy
8 years ago

  • Keywords fixed-major added
  • Resolution fixed deleted
  • Status changed from closed to reopened

#5 @swissspidy
8 years ago

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

In 40328:

Taxonomy: Add missing REST API properties to WP_Taxonomy class.

Props danielbachhuber.
Fixes #39987.

Merges [40303] to the 4.7 branch.

Note: See TracTickets for help on using tickets.