[wp-trac] [WordPress Trac] #39677: Introduce capabilities for managing translations

WordPress Trac noreply at wordpress.org
Mon Apr 24 11:52:44 UTC 2017


#39677: Introduce capabilities for managing translations
-------------------------------------------------+-------------------------
 Reporter:  flixos90                             |       Owner:  flixos90
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.8
Component:  Role/Capability                      |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-unit-tests needs-dev-note        |     Focuses:
  needs-patch                                    |
-------------------------------------------------+-------------------------
Changes (by ocean90):

 * keywords:  has-patch has-unit-tests dev-feedback needs-dev-note => has-
     unit-tests needs-dev-note needs-patch


Comment:

 [attachment:39677.2.diff]:
 * `wp_can_install_language_pack()` should be part of the
 `current_user_can( 'install_languages' )` check IMO.
 * Mapping `update_languages`/`install_languages` only to `update_core` is
 not the same as before because it's currently `update_core` '''or'''
 `update_plugins` '''or''' `update_themes`.

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


More information about the wp-trac mailing list