[wp-trac] [WordPress Trac] #51940: The schema for the taxonomy property of a term in the REST API should not include all taxonomies

WordPress Trac noreply at wordpress.org
Thu Jan 28 00:52:17 UTC 2021


#51940: The schema for the taxonomy property of a term in the REST API should not
include all taxonomies
-----------------------------------+--------------------------------
 Reporter:  johnbillion            |       Owner:  TimothyBlynJacobs
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  5.6.1
Component:  REST API               |     Version:  4.7
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch fixed-major  |     Focuses:
-----------------------------------+--------------------------------
Changes (by whyisjake):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"50047" 50047]:
 {{{
 #!CommitTicketReference repository="" revision="50047"
 REST API: Only include the controller's own taxonomy in it's schema.

 Previously, all taxonomies were incorrectly exposed as possible values.

 This commit brings the changes from [49922] to the 5.6 branch.

 Props johnbillion, TimothyBlynJacobs.

 Fixes #51940.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51940#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list