mirror of
git://develop.git.wordpress.org/
synced 2025-02-24 08:33:35 +01:00
Add string descriptions to the translations of the user roles. Fixes #5102 props RanYanivHartstein
git-svn-id: https://develop.svn.wordpress.org/trunk@6178 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c84e8726d1
commit
34fa3532e2
@ -257,11 +257,11 @@ function populate_roles_160() {
|
||||
global $wp_roles;
|
||||
|
||||
// Add roles
|
||||
add_role('administrator', __('Administrator'));
|
||||
add_role('editor', __('Editor'));
|
||||
add_role('author', __('Author'));
|
||||
add_role('contributor', __('Contributor'));
|
||||
add_role('subscriber', __('Subscriber'));
|
||||
add_role('administrator', _c('Administrator|User role'));
|
||||
add_role('editor', _c('Editor|User role'));
|
||||
add_role('author', _c('Author|User role'));
|
||||
add_role('contributor', _c('Contributor|User role'));
|
||||
add_role('subscriber', _c('Subscriber|User role'));
|
||||
|
||||
// Add caps for Administrator role
|
||||
$role = get_role('administrator');
|
||||
|
Loading…
x
Reference in New Issue
Block a user