[wp-trac] [WordPress Trac] #38720: REST API: Updating a comment without sending content is valid, but unsupported

WordPress Trac noreply at wordpress.org
Thu Nov 10 03:34:32 UTC 2016


#38720: REST API: Updating a comment without sending content is valid, but
unsupported
--------------------------------------+-----------------------
 Reporter:  jnylen0                   |       Owner:  joehoyle
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.7
Component:  REST API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------
Changes (by joehoyle):

 * owner:   => joehoyle
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39196"]:
 {{{
 #!CommitTicketReference repository="" revision="39196"
 REST API: Allow updating a comment without the content present.

 For all resources in the REST API, sending partial updates is supported.
 This fixes needing to _always_ specify comment content.

 Props jnylen.
 Fixes #38720.
 }}}

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


More information about the wp-trac mailing list