[wp-hackers] comment_form_title not working with threaded comments

RePost repost_08 at yahoo.com
Wed Jun 10 06:01:37 GMT 2009

Peter Westwood wrote:
> On 9 Jun 2009, at 01:01, RePost wrote:
>> This tag is supposed to display "Reply to (author)," but it's not 
>> working for me and others who have posted on the WordPress forums 
>> without  finding a solution.
>> Here's the way I coded the tag:
>> <?php comment_form_title( 'Add <em>your</em> comment', 'Reply to %s' 
>> ); ?>
>> "Add your comment" displays every time, even when the poster is 
>> replying to another comment.
>> Site link:
>> http://bit.ly/DBe8x
>> Background on this issue:
>> Thread:
>> http://wordpress.org/support/topic/225225?replies=8#post-1095665
>> Ticket opened; immediately closed:
>> http://core.trac.wordpress.org/ticket/8639
> In what way do you think this does not work?
> At present that function only affects the page when javascript is 
> disabled.
> With javascript enabled the comment for appears underneath the comment 
> you are replying to with the default text.
> Is this your issue - the difference in behaviour with javascript 
> enabled and disabled?
> westi

Thanks for your reply, westi. I disabled javascript, selected the 
"reply" link and "Reply to (author)" did display in that case.

Now I'd like to know why the blog offers LESS functionality with 
javascript enabled. Understanding that most visitors do have javascript 
enabled, why would I want a generic "Leave a reply" message to display 
instead of the more personal "Reply to (author)"?

More information about the wp-hackers mailing list