[wp-trac] [WordPress Trac] #38821: REST API: Consider removing `karma` from Comment endpoint
WordPress Trac
noreply at wordpress.org
Fri Nov 18 16:38:32 UTC 2016
#38821: REST API: Consider removing `karma` from Comment endpoint
-------------------------------------------+-----------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: Comments | Version:
Severity: normal | Resolution:
Keywords: dev-feedback needs-unit-tests | Focuses: rest-api
-------------------------------------------+-----------------------
Changes (by rachelbaker):
* keywords: 2nd-opinion dev-feedback needs-unit-tests => dev-feedback
needs-unit-tests
Comment:
Comments are a mess. The `karma` property is part of the `WP_Comment`
object, and also can be used as a query param in `WP_Comment_Query`. I
understand the cap check here does not have an equal precedent.
I am fine removing this property from the endpoint in the interest of
time.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38821#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list