Add string descriptions to the translations of the user roles. Fixes #5102 props RanYanivHartstein
git-svn-id: http://svn.automattic.com/wordpress/trunk@6178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0b23746c72
commit
6d2459f689
|
@ -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…
Reference in New Issue