populate_roles_230()

Create and modify WordPress roles for WordPress 2.3.

Source

File: wp-admin/includes/schema.php.

View all references

function populate_roles_230() {

$role = get_role( "administrator" );

if ( ! empty( $role ) ) {

$role->add_cap( "unfiltered_upload" );

}

}

Leave a Reply

Your email address will not be published. Required fields are marked *