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

WordPress Trac noreply at wordpress.org
Wed Dec 21 05:12:08 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:
  fixed-major                                    |
-------------------------------------------------+-------------------------
Changes (by pento):

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


Comment:

 In [changeset:"39628"]:
 {{{
 #!CommitTicketReference repository="" revision="39628"
 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.

 Merges [39597] to the 4.7 branch.

 Props jnylen0.
 Fixes #38700.
 }}}

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


More information about the wp-trac mailing list