[wp-trac] [WordPress Trac] #38700: REST API: Cannot send an empty or no-op comment update

WordPress Trac noreply at wordpress.org
Tue Dec 13 13:52:51 UTC 2016


#38700: REST API: Cannot send an empty or no-op comment update
---------------------------------------------+----------------------
 Reporter:  jnylen0                          |       Owner:  jnylen0
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  4.7.1
Component:  REST API                         |     Version:  4.7
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+----------------------
Changes (by jnylen0):

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


Comment:

 In [changeset:"39597"]:
 {{{
 #!CommitTicketReference repository="" revision="39597"
 REST API: Allow sending an empty or no-op comment update.

 In general, updates that don't actually change anything should succeed.
 [39371] added tests for other object types, and this commit fixes empty
 updates
 for comments and adds the missing test.

 Fixes #38700.
 }}}

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


More information about the wp-trac mailing list