populate_roles_260

The timeline below displays how wordpress function populate_roles_260 has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

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');
    }
}