#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 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.7 |
| Component: | Taxonomy | Version: | 4.7 |
| Severity: | normal | Keywords: | has-patch commit dev-reviewed |
| Cc: | Focuses: | rest-api |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
@ramiy Jinx! :-)