[wp-trac] [WordPress Trac] #39017: REST API: Use the correct error message text when attempting to edit a term that the user cannot edit

WordPress Trac noreply at wordpress.org
Thu Dec 1 23:04:12 UTC 2016


#39017: REST API: Use the correct error message text when attempting to edit a term
that the user cannot edit
--------------------------+-------------------------
 Reporter:  johnbillion   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.7
Component:  Taxonomy      |    Version:  trunk
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:  rest-api      |
--------------------------+-------------------------
 `WP_REST_Terms_Controller::update_item_permissions_check()` should use the
 singular form in its error message when a user doesn't have permission to
 update a term.

 This does not introduce a new string because this string is used in
 `wp_xmlrpc_server::wp_editTerm()` already.

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


More information about the wp-trac mailing list