[wp-trac] [WordPress Trac] #38700: REST API: Cannot send an empty or no-op comment update
WordPress Trac
noreply at wordpress.org
Wed Nov 30 03:02:03 UTC 2016
#38700: REST API: Cannot send an empty or no-op comment update
------------------------------------------------+--------------------------
Reporter: jnylen0 | Owner: rmccue
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Future
Component: REST API | Release
Severity: normal | Version: trunk
Keywords: has-patch has-unit-tests 4.8-early | Resolution:
| Focuses:
------------------------------------------------+--------------------------
Comment (by jnylen0):
In [changeset:"39371"]:
{{{
#!CommitTicketReference repository="" revision="39371"
REST API: Add tests for empty or "no-op" updates.
The API should allow updates that don't actually change anything. This
allows
clients to, for example, accidentally send the same request twice without
encountering unexpected errors. This currently works for posts, terms,
and
users, so this commit adds test cases accordingly.
See #38700 for issues preventing this from working for comments.
Fixes #38975.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38700#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list