WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/02/2008 07:57:51 AM (14 years ago)
Author:
ryan
Message:

New dashboard from mdawaffe. see #5750

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/schema.php

    r6385 r6705  
    252252    populate_roles_210();
    253253    populate_roles_230();
     254    populate_roles_250();
    254255}
    255256
     
    391392}
    392393
     394function populate_roles_250() {
     395    $role = get_role( 'administrator' );
     396
     397    if ( !empty( $role ) ) {
     398        $role->add_cap( 'edit_dashboard' );
     399    }
     400}
     401
    393402?>
Note: See TracChangeset for help on using the changeset viewer.