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

display dohideall button only if the user has visible posts #928

Open
wants to merge 2 commits into
base: bugfix
Choose a base branch
from

Conversation

ihlassovbetov
Copy link

No description provided.

new function qa_db_has_user_visible_postids($userid) check if user has any visible posts
first check if the user has any visible posts to hide. otherwise no need to display dohideall button.
@svivian
Copy link
Collaborator

svivian commented Jul 7, 2023

Hey, sorry for the late reply. Is there a particular use case for this? I think it's useful to keep the button always there for consistency.

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

Successfully merging this pull request may close these issues.

2 participants