New dashboard from mdawaffe. see #5750

git-svn-id: https://develop.svn.wordpress.org/trunk@6705 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-02-02 07:57:51 +00:00
parent 53909dbb3b
commit d2067ba297
8 changed files with 788 additions and 177 deletions

View File

@@ -251,6 +251,7 @@ function populate_roles() {
populate_roles_160();
populate_roles_210();
populate_roles_230();
populate_roles_250();
}
function populate_roles_160() {
@@ -390,4 +391,12 @@ function populate_roles_230() {
}
}
function populate_roles_250() {
$role = get_role( 'administrator' );
if ( !empty( $role ) ) {
$role->add_cap( 'edit_dashboard' );
}
}
?>