[wp-trac] [WordPress Trac] #38822: REST API: Clarify parameters when used in error strings

WordPress Trac noreply at wordpress.org
Wed Nov 16 13:41:06 UTC 2016


#38822: REST API: Clarify parameters when used in error strings
--------------------------+-----------------------------------
 Reporter:  ocean90       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.7
Component:  I18N          |    Version:  trunk
 Severity:  normal        |   Keywords:  has-patch 2nd-opinion
  Focuses:  rest-api      |
--------------------------+-----------------------------------
 Example: In `WP_REST_Comments_Controller::create_item_permissions_check()`
 we have 'Sorry, you are not allowed to set karma for comments.' and
 'Sorry, you are not allowed to set status for comments.'. `karma` and
 `status` are parameters which shouldn't be translated to something else.

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


More information about the wp-trac mailing list