Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide profile option Enable keyboard shortcuts for comment moderation #149

Open
arthurshlain opened this issue Feb 20, 2024 · 2 comments
Open
Assignees

Comments

@arthurshlain
Copy link

How about this checkbox in Edit User form?

Keyboard Shortcuts
Enable keyboard shortcuts for comment moderation. Documentation on Keyboard Shortcuts

Maybe something like this:

add_action('admin_head', function (){
    echo '<style> .user-comment-shortcuts-wrap { display: none; } </style>';
});

image

@abid112
Copy link
Contributor

abid112 commented Mar 3, 2024

Hi @arthurshlain ,

If you select the Everywhere from Disable Comments settings, this option should not appear on Edit User screen.
Can you please make sure that you've checked the Everywhere from Disable Comments settings page?

Please let me know.
Thank you!

@abid112 abid112 self-assigned this Mar 3, 2024
@arthurshlain
Copy link
Author

arthurshlain commented Mar 3, 2024

It's looks like this option was hidden in my profile, but still visible when editing another user profile by admin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants