Skip to content

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

Open
ihlassovbetov wants to merge 2 commits intoq2a:bugfixfrom
ihlassovbetov:bugfix
Open

display dohideall button only if the user has visible posts#928
ihlassovbetov wants to merge 2 commits intoq2a:bugfixfrom
ihlassovbetov:bugfix

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