[wp-trac] [WordPress Trac] #53060: Data Deletion - comments

WordPress Trac noreply at wordpress.org
Mon Apr 19 19:00:46 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 megphillips91):

 Replying to [comment:1 audrasjb]:
 > Hi @megphillips91,
 >
 > Why don't you use `WP_Comment_Query` instead of `WP_Query`?
 >
 > I think it doesn't make much sense to add a `comment_author_email`
 parameter in WP_Query, as WP_Query returns `Post` objects, not `Comment`
 objects.

 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.

 You see, for privacy and data deletion purposes (a worthy and common use
 case), one would need to provide the proper context for good decision
 making - which in this case is the post onto which a commenter commented.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53060#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list