[wp-trac] [WordPress Trac] #14163: Extend comment search to support user_id as argument

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 1 01:36:56 UTC 2010


#14163: Extend comment search to support user_id as argument
-----------------------------+----------------------------------------------
 Reporter:  neoxx            |       Owner:                         
     Type:  feature request  |      Status:  new                    
 Priority:  normal           |   Milestone:  Awaiting Review        
Component:  Comments         |     Version:  3.0                    
 Severity:  normal           |    Keywords:  comments, comment, user
-----------------------------+----------------------------------------------
 Hi,

 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 [http://wordpress.org/extend/plugins/featuring-countcomments/ 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?

 greetz,
 berny

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14163>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list