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

WordPress Trac noreply at wordpress.org
Tue Nov 8 04:32:03 UTC 2016


#38700: REST API: Cannot send an empty or no-op comment update
--------------------------------------+------------------------------
 Reporter:  jnylen0                   |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  REST API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by rmccue):

 We can check if the output from `get_item()` for the submitted items
 matches the submitted values. That gets us 99% of the functionality we
 need here without needing the meta-hack.

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


More information about the wp-trac mailing list