Role Manager #9

Merged
Tetrakern merged 122 commits from role_manager into main 2023-08-15 05:44:27 +08:00
Showing only changes of commit 92882bbe93 - Show all commits

View File

@ -507,7 +507,7 @@ if ( ! current_user_can( 'manage_options' ) ) {
}
if ( current_user_can( 'moderate_comments' ) && current_user_can( 'fcn_edit_only_others_comments' ) ) {
add_filter( 'user_has_cap', 'fictioneer_edit_only_comments', 10, 3 );
add_filter( 'user_has_cap', 'fictioneer_edit_only_comments', 9999, 3 );
}
// === MANAGE_OPTIONS ========================================================