[wp-trac] [WordPress Trac] #39677: Introduce capabilities for managing translations
WordPress Trac
noreply at wordpress.org
Fri Apr 7 14:50:31 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: needs-patch needs-unit-tests | Focuses:
------------------------------------------+-----------------------
Changes (by flixos90):
* keywords: has-patch has-unit-tests 2nd-opinion => needs-patch needs-
unit-tests
* owner: => flixos90
* status: new => assigned
* milestone: Future Release => 4.8
Comment:
As discussed with @swissspidy at WC Torino, let's plan this for 4.8.
The current patch should be updated to use meta capabilities instead of
introducing new primitive capabilities (I don't know why I did this). We
also decided to use the term "languages" instead of "translations" for the
capability names.
Let's introduce general capabilities as a first step (`install_languages`
and `update_languages`). We can iterate later and introduce more granular
ones (such as `current_user_can( 'install_language', $locale )`).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39677#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list