From 88183ca9eb9be26a9d5cef7e5414fd317eeb3339 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 13 Jul 2005 20:16:06 +0000 Subject: [PATCH] Fill out level caps. git-svn-id: http://svn.automattic.com/wordpress/trunk@2708 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/upgrade-schema.php | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/wp-admin/upgrade-schema.php b/wp-admin/upgrade-schema.php index 74d8eb3fbc..2aeaae7ff2 100644 --- a/wp-admin/upgrade-schema.php +++ b/wp-admin/upgrade-schema.php @@ -257,7 +257,15 @@ function populate_roles() { 'read' => true, 'level_10' => 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' => @@ -274,7 +282,12 @@ function populate_roles() { 'read' => true, 'level_7' => 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' => @@ -284,7 +297,9 @@ function populate_roles() { 'publish_posts' => true, 'upload_images' => true, 'read' => true, - 'level_2' => true + 'level_2' => true, + 'level_1' => true, + 'level_0' => true )), 'contributor' => @@ -292,7 +307,8 @@ function populate_roles() { 'capabilities' => array( 'edit_posts' => true, 'read' => true, - 'level_1' => true + 'level_1' => true, + 'level_0' => true )), 'subscriber' =>