[wp-trac] [WordPress Trac] #38821: REST API: Consider removing `karma` from Comment endpoint

WordPress Trac noreply at wordpress.org
Fri Nov 18 18:52:21 UTC 2016


#38821: REST API: Consider removing `karma` from Comment endpoint
--------------------------------------+--------------------------
 Reporter:  dd32                      |       Owner:  rachelbaker
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.7
Component:  Comments                  |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+--------------------------
Changes (by rachelbaker):

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


Comment:

 In [changeset:"39292"]:
 {{{
 #!CommitTicketReference repository="" revision="39292"
 REST API: Remove the `karma` property and query parameter from the
 Comments endpoints.

 WordPress has not used the `karma` property internally for the past 8
 years. There is no need to expose it in the REST API endpoints. Sites that
 use `karma` can include it using the `register_rest_field()` function.

 Props dd32, danielbachhuber.
 Fixes #38821.
 }}}

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


More information about the wp-trac mailing list