Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#14163 closed enhancement

Extend comment search to support user_id as argument — at Initial Version

Reported by: neoxx Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.0
Component: Comments Keywords: gsoc has-patch
Focuses: Cc:



what do you think about the idea of extending _wp_get_comment_list in wp-admin/includes/template.php in a way that we can also query for user-ids?

I know, that the user_id will only be stored for comments of logged-in users, though I would need this search functionality not only, but also for my count-comments plugin. Currently, I implemented a link from users.php to edit-comments.php using
?s=user_display_name which obviously results in missed comments as well as false positives.

Just to give the idea a start, I've attached a patch prototype that extends handling of $_REQUEST['s']. - Or would we prefer a separate argument?


Change History (0)

Note: See TracTickets for help on using tickets.