[wp-trac] [WordPress Trac] #38857: REST API: Merge similar translation strings

WordPress Trac noreply at wordpress.org
Fri Nov 18 23:08:42 UTC 2016


#38857: REST API: Merge similar translation strings
--------------------------+-----------------------------
 Reporter:  ramiy         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  I18N          |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:  rest-api      |
--------------------------+-----------------------------
 In the new Rest API, there are 3 places where we check if the
 `current_user_can()` edit posts/terms/users.

 We have two permission error messages:

 * Sorry, you are not allowed to edit resource.
 * Sorry, you are not allowed to manage this resource.

 Thy can be merged into one strings:

 * Sorry, you are not allowed to edit this resource.

 Related: #38808

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


More information about the wp-trac mailing list