This commit is contained in:
Thomas Günther 2024-08-02 00:40:19 +02:00
parent 5b6b06e70d
commit aeddfbd339

View File

@ -32,9 +32,7 @@
array('read' => true) array('read' => true)
); );
} else { } else {
foreach ( solea_get_capabilities_user() as $capability => $value ) { $role->add_cap( 'read' );
$role->add_cap( 'read' );
}
} }
} }