#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)
This ticket was mentioned in Slack in #core-i18n by ramiy. View the logs.
10 years ago
#4
@
10 years ago
Version 0, edited 10 years ago by
(next)
#6
@
10 years ago
I think we can merge more similar translation strings of this kind.
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! :-)