#39017 closed defect (bug) (fixed)
REST API: Use the correct error message text when attempting to edit a term that the user cannot edit
Reported by: | johnbillion | Owned by: | pento |
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | normal | Version: | 4.7 |
Component: | Taxonomy | Keywords: | has-patch commit dev-reviewed |
Focuses: | rest-api | Cc: |
Description
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.
Attachments (3)
Change History (12)
Note: See
TracTickets for help on using
tickets.
@ramiy Jinx! :-)