diff --git a/includes/roles.php b/includes/roles.php index abcb71b..90ff3ee 100644 --- a/includes/roles.php +++ b/includes/roles.php @@ -32,9 +32,7 @@ array('read' => true) ); } else { - foreach ( solea_get_capabilities_user() as $capability => $value ) { - $role->add_cap( 'read' ); - } + $role->add_cap( 'read' ); } }