[wp-trac] Re: [WordPress Trac] #7435: Reply to comments from admin
WordPress Trac
wp-trac at lists.automattic.com
Tue Aug 26 21:43:23 GMT 2008
#7435: Reply to comments from admin
----------------------------+-----------------------------------------------
Reporter: ryan | Owner: azaozz
Type: enhancement | Status: new
Priority: normal | Milestone: 2.7
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: blessed |
----------------------------+-----------------------------------------------
Changes (by azaozz):
* type: defect => enhancement
* component: General => Administration
Comment:
Replying to [comment:3 caesarsgrunt]:
> First, we need MORE HOOKS!!! What if I want to add to the form, rather
than replace it entirely? (I do...)
Could probably add another filter for the textarea tag, however replacing
all of the html would give the plugin complete control of how the popup
works/looks and would probably be more compatible down the road.
> Second, it would be nice if the add-comment function could accept POST
values for all the comment metadata. (For example, I want to write a
plugin which will allow the admin 'replying' to make the reply be 'from'
another user or a visitor whose name, email, url and IP can be set. It
would be best if I could still submit the form to the core function rather
than replicating it.
Don't think this is a good idea. For single user blogs it wouldn't matter
much but for multi-user blogs, one logged-in user pretending to be another
user.. Not good.
> Third, I think the form should be inserted in another tr below the
comment being replied to.
Yes, replying to comments would really benefit from comment threading. Can
insert the reply under the comment with just a small change to the current
code, however it would be confusing as it won't show there on the blog.
Looking at your plugin: there used to be a "Go back" button after error in
an earlier design, but what would the user do when going back? The only
possible actions would be either to resubmit the comment resulting in a
duplicate comment/another error, or to cancel it.
Showing the reply form as a row in the comments table works good, was
thinking to do it like that but went with a draggable popup for more
flexibility. Can be changed back if more people prefer it.
--
Ticket URL: <http://trac.wordpress.org/ticket/7435#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list