[wp-trac] [WordPress Trac] #38975: REST API: Add tests for empty or "no-op" updates

WordPress Trac noreply at wordpress.org
Tue Nov 29 00:18:24 UTC 2016


#38975: REST API: Add tests for empty or "no-op" updates
-------------------------+----------------------------
 Reporter:  jnylen0      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  4.7
Component:  REST API     |    Version:  trunk
 Severity:  normal       |   Keywords:  has-unit-tests
  Focuses:               |
-------------------------+----------------------------
 "Empty" updates that don't change any stored values should be allowed for
 all resource types.  This patch adds tests accordingly for posts, terms,
 and users.

 This is currently broken for comments.  See ticket:38700#comment:14 for
 details.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38975>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list