[wp-trac] [WordPress Trac] #39012: REST API: Capability check for editing a single term should use the singular form

WordPress Trac noreply at wordpress.org
Fri Dec 2 22:56:17 UTC 2016


#39012: REST API: Capability check for editing a single term should use the
singular form
-------------------------------------------+-----------------------
 Reporter:  johnbillion                    |       Owner:
     Type:  defect (bug)                   |      Status:  new
 Priority:  normal                         |   Milestone:  4.7
Component:  Taxonomy                       |     Version:  trunk
 Severity:  normal                         |  Resolution:
 Keywords:  has-patch commit dev-feedback  |     Focuses:  rest-api
-------------------------------------------+-----------------------
Changes (by pento):

 * keywords:  has-patch needs-testing => has-patch commit dev-feedback


Comment:

 Looks good.

 I don't think it needs unit tests, short of adding tests for all
 combinations of singular/plural capabilities.

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


More information about the wp-trac mailing list