Fill out level caps.

git-svn-id: http://svn.automattic.com/wordpress/trunk@2708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-07-13 20:16:06 +00:00
parent e0b97e8a20
commit 88183ca9eb
1 changed files with 20 additions and 4 deletions

View File

@ -257,7 +257,15 @@ function populate_roles() {
'read' => true, 'read' => true,
'level_10' => true, 'level_10' => true,
'level_9' => true, 'level_9' => true,
'level_8' => true 'level_8' => true,
'level_7' => true,
'level_6' => true,
'level_5' => true,
'level_4' => true,
'level_3' => true,
'level_2' => true,
'level_1' => true,
'level_0' => true
)), )),
'editor' => 'editor' =>
@ -274,7 +282,12 @@ function populate_roles() {
'read' => true, 'read' => true,
'level_7' => true, 'level_7' => true,
'level_6' => true, 'level_6' => true,
'level_5' => true 'level_5' => true,
'level_4' => true,
'level_3' => true,
'level_2' => true,
'level_1' => true,
'level_0' => true
)), )),
'author' => 'author' =>
@ -284,7 +297,9 @@ function populate_roles() {
'publish_posts' => true, 'publish_posts' => true,
'upload_images' => true, 'upload_images' => true,
'read' => true, 'read' => true,
'level_2' => true 'level_2' => true,
'level_1' => true,
'level_0' => true
)), )),
'contributor' => 'contributor' =>
@ -292,7 +307,8 @@ function populate_roles() {
'capabilities' => array( 'capabilities' => array(
'edit_posts' => true, 'edit_posts' => true,
'read' => true, 'read' => true,
'level_1' => true 'level_1' => true,
'level_0' => true
)), )),
'subscriber' => 'subscriber' =>