[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
Sat Jan 2 23:47:56 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.7
Component:  REST API      |     Version:  4.7
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------------------
Changes (by TimothyBlynJacobs):

 * owner:  (none) => TimothyBlynJacobs
 * status:  new => closed
 * resolution:   => fixed


Comment:

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

 Previously, all taxonomies were incorrectly exposed as possible values.

 Props johnbillion.
 Fixes #51940.
 }}}

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


More information about the wp-trac mailing list