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

Index anonymous/guest comments, fixes #2356 #2357

Merged
merged 7 commits into from
Sep 27, 2021
Merged

Conversation

tomjn
Copy link
Contributor

@tomjn tomjn commented Sep 21, 2021

Description of the Change

This attempts to fix broken indexing of anonymous/guest comments

I'm unsure if the capability checks are necessary at all, after all if a comment has been deleted surely the checks must have happened beforehand?

Even still, this also leaves the open question of meta. E.g. what if the user can't do these things, but it's being done via a hook in code?

Benefits

Fixes a bug

Possible Drawbacks

Not merging and not fixing the bug

Verification Process

I haven't yet, this is a very long template to fill out

Checklist:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests passed.

Applicable Issues

#2356

Changelog Entry

I'm unsure if the capability checks are necessary at all, after all if a comment has been deleted surely the checks must have happened beforehand?

Even still, this also leaves the open question of meta. E.g. what if the user can't do these things, but it's being done via a hook in code?
@tomjn tomjn changed the title Fixes #2356 Index anonymous/guest comments, fixes #2356 Sep 21, 2021
@Rahmon Rahmon added this to the 3.6.3 milestone Sep 27, 2021
@felipeelia felipeelia merged commit 365c963 into 10up:develop Sep 27, 2021
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.

3 participants