[wp-trac] [WordPress Trac] #11329: Allow _wp_get_comment_list() to return comments only for specific users
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 20 10:38:31 UTC 2010
#11329: Allow _wp_get_comment_list() to return comments only for specific users
----------------------------+-----------------------------------------------
Reporter: pampfelimetten | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0
Component: Accessibility | Version: 2.8.5
Severity: normal | Keywords: has-patch needs-testing
----------------------------+-----------------------------------------------
Comment(by pampfelimetten):
Hi cnorris,
i was curios so I tested it right away, but it isnt working. I only get a
blank list in the backend, tested against 2.9.1
Did you test it on your own setup and did it work?
I tested it with the filter:
{{{
function cba_get_comment_list_by_user($userid) {
$userid = 17;
return $userid;
};
add_filter('get_comment_list_by_user', 'cba_get_comment_list_by_user');
}}}
...aswell as hardcoded, same thing.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11329#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list