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

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

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


More information about the wp-trac mailing list