WordPress Version: 3.7
/**
* Create and modify WordPress roles for WordPress 2.6.
*
* @since 2.6.0
*/
function populate_roles_260()
{
$role = get_role('administrator');
if (!empty($role)) {
$role->add_cap('update_plugins');
$role->add_cap('delete_plugins');
}
}