[wp-hackers] Comment Moderation UI limited for the Author

Jared Bangs jared at pacific22.com
Mon Apr 27 18:11:31 GMT 2009


I'd be willing to spend a few minutes later tonight trying out option
A, just out of curiosity.

I'll try it and e-mail it to you later if successful, unless you get
another solution before then.

On 4/27/09, Daniel Cameron <dan at sproutventure.com> wrote:
>>
>> 1. You want the edit comments page to work normally for other users
>> (editors, admins, etc.) and only want the filtered view for authors.
>>
>> 2. Since this is (I'm assuming) for a client or someone other than
>> yourself, you wouldn't want to hinder their ability to do upgrades in
>> the future.
>
>
> Yep, those requirements are accurate. Especially since we don't want to
> modify the WP core "unless we have to".
>
>
>> A. Altering the final query sql itself with a query filter that
>> catches it under the right conditions
>
>
> I've tried this but found it's not possible to filter on post author
> attributed to the comment.
>
>
>> B. Pluging in a new admin comment management
>
>
> This is one of the solutions I originally had but it's going to take too
> much time.
>
> As Jesse mentioned, the hooks aren't quite there for this to be done
>
> easily in a plugin, although I'm guessing a patch to add a hook inside
>
> of _wp_get_comment_list may be accepted since it seems like this type
>
> of thing might be a common useful feature for plugins to be able to
>
> do.
>
>
> This is the route we may have to go if we can't figure this out via a
> plugin. I'm just worried it will take too long to get approved--especially
> with 2.8 around the corner.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list