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

WordPress Trac noreply at wordpress.org
Sat Nov 19 00:09:09 UTC 2016


#38857: REST API: Merge similar translation strings
--------------------------+-----------------------------
 Reporter:  ramiy         |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.7
Component:  I18N          |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  rest-api
--------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"39305"]:
 {{{
 #!CommitTicketReference repository="" revision="39305"
 REST API: Merge two similar permission error strings in `class-wp-rest-
 comments-controller.php`.

 We're checking if `current_user_can( 'moderate_comments' )` here, not the
 specific comment permissions.

 See #38857.
 }}}

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


More information about the wp-trac mailing list