mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00: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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user