[wp-trac] [WordPress Trac] #53060: Data Deletion - comments
WordPress Trac
noreply at wordpress.org
Tue Apr 20 01:21:09 UTC 2021
#53060: Data Deletion - comments
-----------------------------+------------------------------
Reporter: megphillips91 | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version:
Severity: normal | Resolution:
Keywords: | Focuses: privacy
-----------------------------+------------------------------
Comment (by dd32):
Replying to [comment:2 megphillips91]:
> I understand your concern. However, a commenter could not make an
informed decision on whether or not to delete a comment without the
context of the post itself. For instance, if I commented "that bow is
soooo awesome", I could be referring to the bow of a boat or the ribbon in
my niece's hair.
To provide the proper context for that, you'd use `WP_Comment_Query` to
pull a list of comments, and then display the post associated with those
comments in-line. `get_post( $comment->comment_post_ID )`. Querying posts
by comment author email is a very niche use-case that would serve very
little audience that `WP_Comment_Query` doesn't already offer a viable
option for.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53060#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list